From 73be6b08f5a94e71550fe788c5d74705daa91be0 Mon Sep 17 00:00:00 2001 From: guoyuji <guoyujie@ng.com> Date: 星期五, 22 三月 2024 16:48:07 +0800 Subject: [PATCH] 订单首页右键查询流程卡进度 --- north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java | 15 +++++++++------ 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java index 6ebc1c9..8574f65 100644 --- a/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java +++ b/north-glass-erp/src/main/java/com/example/erp/controller/pp/ReportController.java @@ -13,21 +13,24 @@ import org.springframework.web.bind.annotation.*; import java.sql.Date; +import java.util.List; import java.util.Map; @RestController @Api(value="鐢熶骇鎶ヨ〃controller",tags={"鐢熶骇鎶ヨ〃鎿嶄綔鎺ュ彛"}) @RequestMapping("/report") public class ReportController { - @Autowired - ReportService reportService; + private final ReportService reportService; + + public ReportController(ReportService reportService) { + this.reportService = reportService; + } //娴佺▼鍗¤繘搴� @ApiOperation("娴佺▼鍗¤繘搴�") @PostMapping ("/processCardProgress/{orderId}") - public Result processCardProgress( - @PathVariable String orderId, - @RequestBody FlowCard flowCard){ - return Result.seccess(reportService.processCardProgressSv(orderId,flowCard)); + public Result processCardProgress(@PathVariable String orderId, @RequestBody List<Integer> columns){ + return Result.seccess(reportService.processCardProgressSv(orderId,columns)); } + } -- Gitblit v1.8.0