From fb57e7836338304b16c09fec4fb5c68fb688c39e Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期二, 28 四月 2026 14:03:24 +0800
Subject: [PATCH] 1.新增分区查询 2.任务档新增分区字段
---
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