From 002f10f7d38dc6791d26a69d061e6b17f9980fd0 Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期一, 24 三月 2025 19:41:36 +0800
Subject: [PATCH] 1

---
 src/main/java/com/zy/common/model/OutLocDto.java |   11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diff --git a/src/main/java/com/zy/common/model/OutLocDto.java b/src/main/java/com/zy/common/model/OutLocDto.java
index 77e050b..3aea2f4 100644
--- a/src/main/java/com/zy/common/model/OutLocDto.java
+++ b/src/main/java/com/zy/common/model/OutLocDto.java
@@ -47,8 +47,17 @@
                 if (!Cools.eq(next.getLocDetl().getBatch(), locDetl.getBatch())) {
                     continue;
                 }
+                if(!Cools.eq(next.getLocDetl().getSuppCode(),locDetl.getSuppCode())){
+                    continue;
+                }
+                if(!Cools.eq(next.getLocDetl().getThreeCode(),locDetl.getThreeCode())){
+                    continue;
+                }
+                if(!Cools.eq(next.getLocDetl().getDeadTime(),locDetl.getDeadTime())){
+                    continue;
+                }
                 if (next.getCount() > locDetl.getAnfme()) {
-                    throw new CoolException("鏈嶅姟鍣ㄥ唴閮ㄩ敊璇�");
+                    throw new CoolException("鏁伴噺瓒呰繃搴撳瓨鏁伴噺");
                 }
                 if (next.getCount().equals(locDetl.getAnfme())) {
                     sameNumber++;

--
Gitblit v1.9.1