From d105e7d800be38c0dfdd9b7ae2248d4c1889921f Mon Sep 17 00:00:00 2001
From: guoyuji <guoyujie@ng.com>
Date: 星期四, 09 五月 2024 16:35:48 +0800
Subject: [PATCH] 去除module

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ReplenishController.java |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReplenishController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReplenishController.java
index cf35d80..28af49d 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReplenishController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReplenishController.java
@@ -7,6 +7,7 @@
 import com.example.erp.exception.ServiceException;
 import com.example.erp.service.pp.ReplenishService;
 import com.example.erp.service.pp.ReworkService;
+import io.swagger.annotations.Api;
 import io.swagger.annotations.ApiOperation;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.*;
@@ -15,6 +16,7 @@
 import java.util.Map;
 
 @RestController
+@Api(value="琛ョ墖controller",tags={"琛ョ墖鎿嶄綔鎺ュ彛"})
 @RequestMapping("/Replenish")
 public class ReplenishController {
 
@@ -45,12 +47,12 @@
             return Result.seccess();
 
         }else {
-            throw new ServiceException(Constants.Code_500,"杩斿伐澶辫触");
+            throw new ServiceException(Constants.Code_500,"琛ョ墖澶辫触");
 
         }
     }
 
-    @ApiOperation("璁㈠崟璋冩嫧鎺ュ彛")
+    @ApiOperation("琛ョ墖瀹℃牳鎺ュ彛")
     @PostMapping("/updateReplenish")
     public Result updateReplenish( @RequestBody Map<String,Object> object){
         if(replenishService.updateReplenish(object)){

--
Gitblit v1.8.0