From 3d8a89b59ddcec3b02198bc5d02cf9d0c7c007cf Mon Sep 17 00:00:00 2001
From: Zhu Zhonghua <zhonghua@qq.com>
Date: 星期四, 24 四月 2025 21:45:31 +0800
Subject: [PATCH] 修改int配置的命名空间的id

---
 aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml b/aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml
index 90ca081..fcb5e28 100644
--- a/aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml
+++ b/aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml
@@ -23,10 +23,11 @@
     <select id="selectApsShopList" parameterType="ApsShop" resultMap="ApsShopResult">
         <include refid="selectApsShopVo"/>
         <where>  
-            <if test="shopName != null  and shopName != ''"> and shop_name like concat('%', #{shopName}, '%')</if>
-            <if test="shopCode != null  and shopCode != ''"> and shop_code like concat('%', #{shopCode}, '%')</if>
+            <if test="shopName != null  and shopName != ''"> and shop_name = #{shopName}</if>
+            <if test="shopCode != null  and shopCode != ''"> and shop_code = #{shopCode}</if>
             <if test="plantCode != null  and plantCode != ''"> and plant_code = #{plantCode}</if>
             <if test="status != null  and status != ''"> and status = #{status}</if>
+             and status='1'
         </where>
     </select>
     

--
Gitblit v1.9.3