From 8b3d5b19b746a808d447b67164ba86e673fd9822 Mon Sep 17 00:00:00 2001
From: pjb <pjb123456>
Date: 星期日, 24 八月 2025 16:10:14 +0800
Subject: [PATCH] 订单出库,统一出库时间

---
 src/main/java/com/zy/asrs/controller/OutController.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/asrs/controller/OutController.java b/src/main/java/com/zy/asrs/controller/OutController.java
index b97f668..c56325f 100644
--- a/src/main/java/com/zy/asrs/controller/OutController.java
+++ b/src/main/java/com/zy/asrs/controller/OutController.java
@@ -220,6 +220,7 @@
                 taskDtos.add(taskDto);
             }
         }
+        Date now = new Date();
         // -----------------------------------------------------------------------------------------------
         for (TaskDto taskDto : taskDtos) {
             BasDevp staNo = basDevpService.checkSiteStatus(taskDto.getStaNo());
@@ -233,7 +234,7 @@
                     }
                 }
             }
-            workService.stockOut(staNo, taskDto, getUserId());
+            workService.stockOut(staNo, taskDto, getUserId(),now);
         }
         return R.ok();
     }

--
Gitblit v1.9.1