From cddd83f139af1786517759277ced8479cbe80d3b Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期三, 19 二月 2020 12:57:09 +0800
Subject: [PATCH] Merge branch 'master' of https://github.com/java110/MicroCommunity
---
java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml
index 9376b5a..aa20bae 100644
--- a/java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/InspectionPlanServiceDaoImplMapper.xml
@@ -315,9 +315,6 @@
<if test="startTime !=null and startTime != ''">
and t.start_time= #{startTime}
</if>
- <if test="createUser !=null and createUser != ''">
- and t.create_user= #{createUser}
- </if>
<if test="inspectionPlanId !=null and inspectionPlanId != ''">
and t.inspection_plan_id= #{inspectionPlanId}
</if>
@@ -333,6 +330,9 @@
<if test="staffId !=null and staffId != ''">
and t.staff_id= #{staffId}
</if>
+ <if test="keyWord !=null and keyWord != ''">
+ and (t.inspection_plan_name like concat('%',#{keyWord},'%') or t.staff_name like concat('%',#{keyWord},'%'))
+ </if>
</select>
--
Gitblit v1.8.0