From ba78a4af86a2916ecec4a92bfef6bc4f5a4e6d8e Mon Sep 17 00:00:00 2001 From: chenlu <1320612696@qq.com> Date: 星期四, 07 三月 2024 13:44:02 +0800 Subject: [PATCH] 排产删除、审核,修改代码格式 --- north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java index 11673c5..787be26 100644 --- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java +++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ProductionSchedulingController.java @@ -41,14 +41,14 @@ //鐐瑰嚮鏌ヨ鎺掔増鏁版嵁锛堝甫璁㈠崟鍙锋煡璇級 @PostMapping ("/selectSchedulingNot/{selectTime1}/{selectTime2}/{orderId}/{processes}/{state}") - public Result SelectSchedulingNot( + public Result selectSchedulingNot( @PathVariable String selectTime1, @PathVariable String selectTime2, @PathVariable String orderId, @PathVariable String processes, @PathVariable Integer state, @RequestBody ProductionScheduling productionScheduling){ - return Result.seccess(productionSchedulingService.SelectSchedulingNotSv(selectTime1,selectTime2,orderId,processes,state,productionScheduling)); + return Result.seccess(productionSchedulingService.selectSchedulingNotSv(selectTime1,selectTime2,orderId,processes,state,productionScheduling)); } @@ -66,9 +66,9 @@ //鍒犻櫎鎺掍骇鏁版嵁 @PostMapping("/deleteScheduling") - public Result DeleteScheduling( @RequestBody Map<String,Object> object) throws Exception{ + public Result deleteScheduling( @RequestBody Map<String,Object> object) throws Exception{ - if(productionSchedulingService.DeleteSchedulingSv(object)){ + if(productionSchedulingService.deleteSchedulingSv(object)){ return Result.seccess(); }else { throw new ServiceException(Constants.Code_500,"鍒犻櫎澶辫触"); -- Gitblit v1.8.0