From beea81f59962e10358672365cb16f0eeda7893df Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 24 一月 2024 10:50:44 +0800
Subject: [PATCH] 开发业务接口

---
 server/platform/src/main/java/com/doumee/api/business/ApplyChangeController.java |   34 +++++++++++++++++++++++++++++++---
 1 files changed, 31 insertions(+), 3 deletions(-)

diff --git a/server/platform/src/main/java/com/doumee/api/business/ApplyChangeController.java b/server/platform/src/main/java/com/doumee/api/business/ApplyChangeController.java
index 939d177..db4f1c4 100644
--- a/server/platform/src/main/java/com/doumee/api/business/ApplyChangeController.java
+++ b/server/platform/src/main/java/com/doumee/api/business/ApplyChangeController.java
@@ -20,9 +20,9 @@
 
 /**
  * @author 姹熻箘韫�
- * @date 2024/01/15 11:15
+ * @date 2024/01/16 10:03
  */
-@Api(tags = "鍔犲噺淇濈敵璇蜂俊鎭〃")
+@Api(tags = "鍔犲噺淇濇崲鍘傜敵璇蜂俊鎭〃")
 @RestController
 @RequestMapping("/business/applyChange")
 public class ApplyChangeController extends BaseController {
@@ -36,6 +36,34 @@
     @RequiresPermissions("business:applychange:create")
     public ApiResponse create(@RequestBody ApplyChange applyChange) {
         return ApiResponse.success(applyChangeService.create(applyChange));
+    }
+    @PreventRepeat
+    @ApiOperation("骞冲彴閫�鍥炴姇淇�")
+    @PostMapping("/back")
+    @RequiresPermissions("business:applychange:back")
+    public ApiResponse back(@RequestBody ApplyChange applyChange) {
+        return ApiResponse.success(applyChangeService.back(applyChange));
+    }
+    @PreventRepeat
+    @ApiOperation("骞冲彴澶勭悊閫�鍥炵敵璇�")
+    @PostMapping("/dealBackApply")
+    @RequiresPermissions("business:applychange:dealBackApply")
+    public ApiResponse dealBackApply(@RequestBody ApplyChange applyChange) {
+        return ApiResponse.success(applyChangeService.dealBackApply(applyChange));
+    }
+    @PreventRepeat
+    @ApiOperation("骞冲彴涓婁紶鎵瑰崟")
+    @PostMapping("/uploadPidan")
+    @RequiresPermissions("business:applychange:uploadPidan")
+    public ApiResponse uploadPidan(@RequestBody ApplyChange applyChange) {
+        return ApiResponse.success(applyChangeService.uploadPidan(applyChange));
+    }
+    @PreventRepeat
+    @ApiOperation("骞冲彴淇敼鎵瑰崟")
+    @PostMapping("/editPidan")
+    @RequiresPermissions("business:applychange:editPidan")
+    public ApiResponse editPidan(@RequestBody ApplyChange applyChange) {
+        return ApiResponse.success(applyChangeService.editPidan(applyChange));
     }
 
     @ApiOperation("鏍规嵁ID鍒犻櫎")
@@ -78,7 +106,7 @@
     @PostMapping("/exportExcel")
     @RequiresPermissions("business:applychange:exportExcel")
     public void exportExcel (@RequestBody PageWrap<ApplyChange> pageWrap, HttpServletResponse response) {
-        ExcelExporter.build(ApplyChange.class).export(applyChangeService.findPage(pageWrap).getRecords(), "鍔犲噺淇濈敵璇蜂俊鎭〃", response);
+        ExcelExporter.build(ApplyChange.class).export(applyChangeService.findPage(pageWrap).getRecords(), "鍔犲噺淇濇崲鍘傜敵璇蜂俊鎭〃", response);
     }
 
     @ApiOperation("鏍规嵁ID鏌ヨ")

--
Gitblit v1.9.3