From cac27c083bacfcb1fe602d722729676f87ee7023 Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期五, 24 四月 2026 15:20:25 +0800
Subject: [PATCH] 完善电视机出库托数延时高的问题
---
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