From fb4a281ee23c8ddfb6cfc41a7ee6c43fc0eb8885 Mon Sep 17 00:00:00 2001
From: dy <dingyang@lnfxkj.tech>
Date: 星期三, 23 四月 2025 10:31:02 +0800
Subject: [PATCH] 资源池后台代码提交
---
aps-modules/aps-core/src/main/resources/mapper/core/ApsShopMapper.xml | 4 ++--
1 files changed, 2 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..dc82aa4 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,8 +23,8 @@
<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>
</where>
--
Gitblit v1.9.3