From c357f8844e03627d0c3bea4bf2058e7c69ff3518 Mon Sep 17 00:00:00 2001
From: hongjli <3117313295@qq.com>
Date: 星期三, 14 五月 2025 14:18:36 +0800
Subject: [PATCH] Merge branch 'dev' of http://192.168.50.149:8085/r/aps-backend into dev_lhj
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml | 6 ++++--
1 files changed, 4 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..b2f285d 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,11 +23,13 @@
<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>
+ order by id asc
</select>
<select id="selectApsShopById" parameterType="String" resultMap="ApsShopResult">
--
Gitblit v1.9.3