From 2be5b8cf420fd9124a05b86f63c8c58e0cc76090 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期二, 13 八月 2024 14:48:08 +0800
Subject: [PATCH] 出库逻辑调整

---
 src/main/resources/mapper/LocDetlMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 3648cdc..2e3491f 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -256,6 +256,7 @@
 <!--        </if>-->
         <if test="model != null and model != ''">
             and a.model = #{model}
+          and (a.pg_no is null or LENGTH(TRIM(pg_no)) = 0)
         </if>
 
         <if test="locNos != null and locNos.size > 0">

--
Gitblit v1.9.1