From 05683f2b2bdbdbe21cf17ad523c21ab338bd1c54 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 19 七月 2022 21:49:55 +0800
Subject: [PATCH] 优化添加设备 功能

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

diff --git a/java110-db/src/main/resources/mapper/community/MappingServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/MappingServiceDaoImplMapper.xml
index fc53a5e..fde5c95 100755
--- a/java110-db/src/main/resources/mapper/community/MappingServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/MappingServiceDaoImplMapper.xml
@@ -84,6 +84,9 @@
         <if test="name !=null and name != ''">
             and t.name= #{name}
         </if>
+        <if test="nameLike !=null and nameLike != ''">
+            and t.name like concat('%',#{nameLike},'%')
+        </if>
         <if test="remark !=null and remark != ''">
             and t.remark= #{remark}
         </if>
@@ -117,7 +120,7 @@
         <if test="name !=null and name != ''">
             , t.name= #{name}
         </if>
-        <if test="remark !=null and remark != ''">
+        <if test="remark !=null">
             , t.remark= #{remark}
         </if>
         <if test="value !=null and value != ''">

--
Gitblit v1.8.0