From d0cbcf35900093c606937a6f78423a0c75d6f939 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 14 九月 2023 08:07:10 +0800
Subject: [PATCH] #批次

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

diff --git a/src/main/resources/mapper/ManLocDetlMapper.xml b/src/main/resources/mapper/ManLocDetlMapper.xml
index 9b11930..6da6c79 100644
--- a/src/main/resources/mapper/ManLocDetlMapper.xml
+++ b/src/main/resources/mapper/ManLocDetlMapper.xml
@@ -419,6 +419,9 @@
         where 1=1
         and b.loc_sts = 'F'
         and a.matnr = #{matnr}
+        <if test="batch != null || batch != ''">
+            and a.batch = #{batch}
+        </if>
 
     </select>
     <delete id="deleteDatailed">
@@ -443,6 +446,9 @@
         where 1=1
         and loc_no = #{locNo}
         and matnr = #{matnr}
+        <if test="batch != null || batch != ''">
+            and batch = #{batch}
+        </if>
 <!--        <choose>-->
 <!--            <when test="batch != null and batch!=''  ">-->
 <!--                and batch = #{batch}-->

--
Gitblit v1.9.1