From 1983df9f47c76e3c047f386e82e89c5537f345ac Mon Sep 17 00:00:00 2001
From: lsh <lsh@163.com>
Date: 星期三, 05 十一月 2025 12:57:32 +0800
Subject: [PATCH] *

---
 src/main/resources/mapper/LocMastMapper.xml |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/LocMastMapper.xml b/src/main/resources/mapper/LocMastMapper.xml
index 766aa42..c94c129 100644
--- a/src/main/resources/mapper/LocMastMapper.xml
+++ b/src/main/resources/mapper/LocMastMapper.xml
@@ -42,8 +42,11 @@
     </resultMap>
 
     <sql id="batchSeq">
+        <if test="locSts != null and locSts != ''">
+            and LOC_STS = #{locSts}
+        </if>
         <if test="locNo != null and locNo != ''">
-            and LOC_NO like '%' + #{locNo} + '%'
+            and LOC_NO = #{locNo}
         </if>
         <if test="whsType != null and whsType != 0">
             and WHS_TYPE = #{whsType}

--
Gitblit v1.9.1