From 404d4ddadf135189b8818c85f58cd0c8c4835913 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期一, 25 九月 2023 16:41:57 +0800
Subject: [PATCH] #货主转换,货物形态转换搜索修复

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

diff --git a/src/main/resources/mapper/LocDetlMapper.xml b/src/main/resources/mapper/LocDetlMapper.xml
index 0d0e3b5..be5981c 100644
--- a/src/main/resources/mapper/LocDetlMapper.xml
+++ b/src/main/resources/mapper/LocDetlMapper.xml
@@ -514,10 +514,10 @@
         <if test="matnr != null and matnr !='' ">
             and t.matnr like '%' + #{matnr} + '%'
         </if>
-        <if test="owner != null and owner !='' ">
-            and t.owner like '%' + #{owner} + '%'
+        <if test="owner != null">
+            and t.owner =  #{owner}
         </if>
-        <if test="payment != null and payment !='' ">
+        <if test="payment != null">
             and t.payment = #{payment}
         </if>
 
@@ -548,6 +548,7 @@
         SELECT * FROM asr_loc_detl_all
         ) t
         WHERE 1=1
+
         <include refid="selectAllSql"></include>
         ) a
         WHERE a.row BETWEEN ((#{pageNumber}-1)*#{pageSize}+1) and (#{pageNumber}*#{pageSize})

--
Gitblit v1.9.1