From dd80c84ccb3d2784a016db54c4de6565368a6e97 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 23 五月 2024 10:39:27 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
---
north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java | 23 +++++++++++++++++------
1 files changed, 17 insertions(+), 6 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
index 6af1dbf..4785612 100644
--- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
+++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java
@@ -70,12 +70,13 @@
@PathVariable String orderId,
@PathVariable String processId
){
- if(flowCardService.deleteFlowCardSv(orderId,processId)){
- return Result.seccess();
- }else {
- throw new ServiceException(Constants.Code_500,"鍒犻櫎澶辫触,璇锋鏌ユ槸鍚﹀凡鎶ュ伐");
-
- }
+// if(flowCardService.deleteFlowCardSv(orderId,processId)){
+// return Result.seccess();
+// }else {
+// throw new ServiceException(Constants.Code_500,"鍒犻櫎澶辫触,璇锋鏌ユ槸鍚﹀凡鎶ュ伐");
+//
+// }
+ return Result.seccess(flowCardService.deleteFlowCardSv(orderId,processId));
}
//淇敼鎺掔増鐘舵��
@@ -179,4 +180,14 @@
public Result getSelectPrinting( @RequestBody Map<String,Object> object){
return Result.seccess(flowCardService.getSelectPrintingSv(object));
}
+
+ @ApiOperation("澶嶉�夋淇敼鎺掔増鐘舵��")
+ @SaCheckPermission("SelectProcessCard.review")
+ @PostMapping("/updateComposing")
+ public Result updateComposing(
+ @RequestBody Map<String,Object> object
+ ){
+
+ return Result.seccess(flowCardService.updateComposingSv(object));
+ }
}
--
Gitblit v1.8.0