java110 5 роки тому
батько
коміт
f946cd999f

+ 1 - 1
java110-db/src/main/resources/mapper/community/AppServiceDaoImplMapper.xml

@@ -91,7 +91,7 @@
             and t.black_list_ip= #{blackListIp}
             and t.black_list_ip= #{blackListIp}
         </if>
         </if>
         <if test="name !=null and name != ''">
         <if test="name !=null and name != ''">
-            and t.name= #{name}
+            and t.name like concat('%',#{name},'%')
         </if>
         </if>
         <if test="securityCode !=null and securityCode != ''">
         <if test="securityCode !=null and securityCode != ''">
             and t.security_code= #{securityCode}
             and t.security_code= #{securityCode}