From 6e8c95d31d85b53857e4e3ce12ea303eb0ea42eb Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期四, 19 八月 2021 00:47:48 +0800
Subject: [PATCH] 优化代码

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

diff --git a/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 93a4104..9465cfd
--- a/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml
@@ -91,7 +91,7 @@
             and t.black_list_ip= #{blackListIp}
         </if>
         <if test="name !=null and name != ''">
-            and t.name= #{name}
+            and t.name like concat('%',#{name},'%')
         </if>
         <if test="securityCode !=null and securityCode != ''">
             and t.security_code= #{securityCode}

--
Gitblit v1.8.0