From 591df47bf8cb5518f367a4f7c8c0b94e810ca5c2 Mon Sep 17 00:00:00 2001 From: 廖井涛 <2265517004@qq.com> Date: 星期二, 28 五月 2024 11:53:01 +0800 Subject: [PATCH] Merge branch 'master' of http://bore.pub:10439/r/ERP_override --- north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java index f96ec19..17c0a89 100644 --- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java +++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportingWorkController.java @@ -83,12 +83,14 @@ @SaCheckPermission("SelectReportingWorks.delete") @PostMapping("/deleteWork/{reportingWorkId}/{processId}/{thisProcess}") public Result deleteWork(@PathVariable String reportingWorkId,@PathVariable String processId,@PathVariable String thisProcess){ - if(reportingWorkService.deleteWorkSv(reportingWorkId,processId,thisProcess)){ - return Result.seccess(); - }else { - throw new ServiceException(Constants.Code_500,"鍒犻櫎澶辫触,璇锋鏌ユ槸鍚︾鍚堝垹闄ゆ潯浠�"); +// if(reportingWorkService.deleteWorkSv(reportingWorkId,processId,thisProcess)){ +// return Result.seccess(); +// }else { +// throw new ServiceException(Constants.Code_500,"鍒犻櫎澶辫触,璇锋鏌ユ槸鍚︾鍚堝垹闄ゆ潯浠�"); +// +// } + return Result.seccess(reportingWorkService.deleteWorkSv(reportingWorkId,processId,thisProcess)); - } } @ApiOperation("璐ㄦ瀹℃牳鏌ヨ鎺ュ彛") -- Gitblit v1.8.0