From 576c52d8d8e6fb1e738380cc5fc101a6a2b0b3a8 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期六, 04 九月 2021 16:00:57 +0800
Subject: [PATCH] Merge branch 'master' of http://git.homecommunity.cn/supervip/MicroCommunity

---
 java110-db/src/main/resources/mapper/community/ServiceServiceDaoImplMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/community/ServiceServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/ServiceServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 283f1ed..d0c92b9
--- a/java110-db/src/main/resources/mapper/community/ServiceServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/ServiceServiceDaoImplMapper.xml
@@ -166,7 +166,7 @@
             and t.is_instance= #{isInstance}
         </if>
         <if test="name !=null and name != ''">
-            and t.name= #{name}
+            and t.name like concat('%',#{name},'%')
         </if>
         <if test="serviceName !=null and serviceName != ''">
             and t.name like concat('%',#{serviceName},'%')
@@ -279,7 +279,7 @@
             and t.is_instance= #{isInstance}
         </if>
         <if test="name !=null and name != ''">
-            and t.name= #{name}
+            and t.name  like concat('%',#{name},'%')
         </if>
         <if test="serviceName !=null and serviceName != ''">
             and t.name like concat('%',#{serviceName},'%')

--
Gitblit v1.8.0