From 38c703bda429dc292b704046962b0c38cf52de91 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期二, 02 一月 2024 20:02:38 +0800
Subject: [PATCH] 优化物业手机端首页统计

---
 java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml
index 95c5f3b..1a523eb 100644
--- a/java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml
@@ -24,7 +24,7 @@
         td.`name` stateName,
         wp.work_cycle workCycle,wp.create_user_id
         createUserId,wp.create_user_name createUserName,wp.work_name workName,wp.wt_id wtId,wp.create_user_tel createUserTel,
-        wt.type_name typeName
+        wt.type_name typeName,t.finish_time finishTime,t.task_timeout taskTimeout
         from work_task t
         left join t_dict td on t.state = td.status_cd and td.table_name = 'work_pool' and td.table_columns = 'state'
         left join work_pool wp on t.work_id = wp.work_id and wp.status_cd = '0'
@@ -76,6 +76,9 @@
         <if test="staffId !=null and staffId != ''">
             and t.staff_id= #{staffId}
         </if>
+        <if test="taskTimeout !=null and taskTimeout != ''">
+            and t.task_timeout= #{taskTimeout}
+        </if>
         <if test="queryStartTime !=null and queryStartTime != ''">
             and t.create_time &gt; #{queryStartTime}
         </if>
@@ -107,6 +110,12 @@
         </if>
         <if test="endTime !=null and endTime != ''">
             , t.end_time= #{endTime}
+        </if>
+        <if test="finishTime !=null and finishTime != ''">
+            , t.finish_time = #{finishTime}
+        </if>
+        <if test="taskTimeout !=null and taskTimeout != ''">
+            , t.task_timeout= #{taskTimeout}
         </if>
 
         <if test="staffId !=null and staffId != ''">
@@ -183,6 +192,9 @@
         <if test="staffId !=null and staffId != ''">
             and t.staff_id= #{staffId}
         </if>
+        <if test="taskTimeout !=null and taskTimeout != ''">
+            and t.task_timeout= #{taskTimeout}
+        </if>
         <if test="queryStartTime !=null and queryStartTime != ''">
             and t.create_time &gt; #{queryStartTime}
         </if>

--
Gitblit v1.8.0