From 13d295c4210ee589b3e524bd157f85c63bca5a3e Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期四, 30 四月 2026 13:12:08 +0800
Subject: [PATCH] 1.出库单据转历史档有问题 2.新增单据历史档 3.修复入库完成转明细失败

---
 src/test/java/com/zy/asrs/task/support/OutboundBatchSeqReleaseGuardTest.java |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/src/test/java/com/zy/asrs/task/support/OutboundBatchSeqReleaseGuardTest.java b/src/test/java/com/zy/asrs/task/support/OutboundBatchSeqReleaseGuardTest.java
index 8eb1219..4e73a40 100644
--- a/src/test/java/com/zy/asrs/task/support/OutboundBatchSeqReleaseGuardTest.java
+++ b/src/test/java/com/zy/asrs/task/support/OutboundBatchSeqReleaseGuardTest.java
@@ -92,6 +92,15 @@
     }
 
     @Test
+    void treatsStationOutCompleteStatusAsReleased() {
+        when(wrkMastService.selectList(any())).thenReturn(Arrays.asList(
+                wrkMast("1", 26L),
+                wrkMast("2", 11L)));
+
+        assertNull(guard.validateReady("ORD1", "2"));
+    }
+
+    @Test
     void firstBatchSeqIsNotBlockedByThreshold() throws Exception {
         setThreshold("1");
         when(wrkMastService.selectList(any())).thenReturn(Collections.singletonList(wrkMast("1", 25L)));

--
Gitblit v1.9.1