From ba5210dc8c6c537cacc59c18d58baa9744cd2b9d Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 10 五月 2022 11:14:39 +0800
Subject: [PATCH] 优化报修单推送bug

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

diff --git a/java110-db/src/main/resources/mapper/community/InspectionTaskDetailServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/InspectionTaskDetailServiceDaoImplMapper.xml
index 6caa6fc..4946cc5 100755
--- a/java110-db/src/main/resources/mapper/community/InspectionTaskDetailServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/InspectionTaskDetailServiceDaoImplMapper.xml
@@ -189,6 +189,9 @@
         <if test="planUserName !=null and planUserName != ''">
             and it.plan_user_name= #{planUserName}
         </if>
+        <if test="planUserId !=null and planUserId != ''">
+            and it.plan_user_id= #{planUserId}
+        </if>
         <if test="inspectionPlanName !=null and inspectionPlanName != ''">
             and ipl.inspection_plan_name= #{inspectionPlanName}
         </if>
@@ -206,6 +209,9 @@
         </if>
         <if test="nowTime != null">
             and t.create_time &lt; #{nowTime}
+        </if>
+        <if test="qrCodeTime != null">
+            and t.create_time &gt; #{qrCodeTime}
         </if>
         <if test="inspectionStartTime !=null and inspectionStartTime != ''">
             and t.inspection_time &gt;= #{inspectionStartTime}
@@ -336,6 +342,9 @@
         <if test="planUserName !=null and planUserName != ''">
             and it.plan_user_name= #{planUserName}
         </if>
+        <if test="planUserId !=null and planUserId != ''">
+            and it.plan_user_id= #{planUserId}
+        </if>
         <if test="inspectionPlanName !=null and inspectionPlanName != ''">
             and ipl.inspection_plan_name= #{inspectionPlanName}
         </if>

--
Gitblit v1.8.0