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 |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 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 6256cca..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,7 +20,7 @@
 
 /**
  * @author 姹熻箘韫�
- * @date 2024/01/15 15:07
+ * @date 2024/01/16 10:03
  */
 @Api(tags = "鍔犲噺淇濇崲鍘傜敵璇蜂俊鎭〃")
 @RestController
@@ -37,6 +37,34 @@
     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鍒犻櫎")
     @GetMapping("/delete/{id}")

--
Gitblit v1.9.3