From 6c025f6b52b85b71ba352ac4ce89a99bbb552612 Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期三, 27 十二月 2023 12:46:39 +0800
Subject: [PATCH] 抄送我的工单查看

---
 java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml |    4 +++-
 1 files changed, 3 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 7fecc25..af69212 100644
--- a/java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/oa/WorkTaskV1ServiceDaoImplMapper.xml
@@ -19,8 +19,10 @@
     <select id="getWorkTaskInfo" parameterType="Map" resultType="Map">
         select t.staff_name,t.staff_name staffName,t.start_time,t.start_time startTime,t.status_cd,t.status_cd
         statusCd,t.state,t.end_time,t.end_time endTime,t.community_id,t.community_id communityId,t.store_id,t.store_id
-        storeId,t.task_id,t.task_id taskId,t.work_id,t.work_id workId,t.staff_id,t.staff_id staffId,t.create_time createTime
+        storeId,t.task_id,t.task_id taskId,t.work_id,t.work_id workId,t.staff_id,t.staff_id staffId,t.create_time createTime,
+        td.`name` stateName
         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'
         where 1 =1
         <if test="staffName !=null and staffName != ''">
             and t.staff_name= #{staffName}

--
Gitblit v1.8.0