From fee38f39e36bcda9924f5b26dca609dda6b331e0 Mon Sep 17 00:00:00 2001
From: skyouc
Date: 星期日, 22 六月 2025 16:53:27 +0800
Subject: [PATCH] no message

---
 zy-asrs-wms/src/main/resources/mapper/asrs/ViewTaskDetlMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/zy-asrs-wms/src/main/resources/mapper/asrs/ViewTaskDetlMapper.xml b/zy-asrs-wms/src/main/resources/mapper/asrs/ViewTaskDetlMapper.xml
index dd0673c..fe66202 100644
--- a/zy-asrs-wms/src/main/resources/mapper/asrs/ViewTaskDetlMapper.xml
+++ b/zy-asrs-wms/src/main/resources/mapper/asrs/ViewTaskDetlMapper.xml
@@ -5,12 +5,12 @@
     <select id="getList" resultType="map">
         select * from view_man_task_detl td
         where matnr = #{matnr}
-        <if test="batch!=null">
+        <if test="batch!=null and batch!=''">
             and batch = #{batch}
         </if>
         <if test="param!=null and param.size()>0">
             <foreach item="item" collection="param" index="index">
-                <if test="item.value!=null">
+                <if test="item.value!=null and item.value != ''">
                     and ${item.name} = #{item.value}
                 </if>
             </foreach>

--
Gitblit v1.9.1