From 3abf7a08a772acf35499b51f0c0e783804fc14f4 Mon Sep 17 00:00:00 2001
From: chenlu <1320612696@qq.com>
Date: 星期四, 27 三月 2025 10:37:34 +0800
Subject: [PATCH] 报工新增查询添加显示上下工序接收审核状态

---
 north-glass-erp/src/main/java/com/example/erp/controller/pp/ProcessCardController.java |   13 +++++++------
 1 files changed, 7 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 eb29361..b14eb64 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
@@ -16,6 +16,7 @@
 import org.springframework.web.bind.annotation.*;
 
 import java.sql.Date;
+import java.util.List;
 import java.util.Map;
 
 @RestController
@@ -28,14 +29,13 @@
     //娴佺▼鍗$鐞嗘煡璇�
     @ApiOperation("娴佺▼鍗$鐞嗘煡璇㈡帴鍙�")
     @SaCheckPermission("selectProcessCard.search")
-    @PostMapping("/flowCard/{pageNum}/{pageSize}/{selectTime1}/{selectTime2}")
+    @PostMapping("/flowCard/{pageNum}/{pageSize}/{selectDate}")
     public Result dateProcess(
             @PathVariable Integer pageNum,
             @PathVariable Integer pageSize,
-            @PathVariable Date selectTime1,
-            @PathVariable Date selectTime2,
+            @PathVariable List<String> selectDate,
             @RequestBody FlowCard flowCard) {
-        return Result.seccess(flowCardService.selectProcessCard(pageNum, pageSize, selectTime1, selectTime2, flowCard));
+        return Result.seccess(flowCardService.selectProcessCard(pageNum, pageSize,selectDate, flowCard));
 
     }
 
@@ -159,15 +159,16 @@
 
     @ApiOperation("娴佺▼鍗℃墦鍗版煡璇㈡帴鍙�")
     @SaCheckPermission("selectPrintFlowCard.search")
-    @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}")
+    @PostMapping("/selectPrintFlowCard/{selectTime1}/{selectTime2}/{orderId}/{project}/{userId}/{state}")
     public Result selectPrintFlowCard(
             @PathVariable Date selectTime1,
             @PathVariable Date selectTime2,
             @PathVariable String orderId,
             @PathVariable String project,
             @PathVariable String userId,
+            @PathVariable Integer state,
             @RequestBody FlowCard flowCard) {
-        return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId, flowCard));
+        return Result.seccess(flowCardService.selectPrintFlowCardSv(selectTime1, selectTime2, orderId, project,userId,state, flowCard));
     }
 
     @ApiOperation("娴佺▼鍗℃槑缁嗘煡璇㈡帴鍙�")

--
Gitblit v1.8.0