From d3af03b82eb1707b59007857c56b913d447805db Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期二, 29 十一月 2022 16:37:40 +0800
Subject: [PATCH] bug修改

---
 ycl-platform/src/main/resources/mapper/caseHandler/DisposeRecordMapper.xml |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/ycl-platform/src/main/resources/mapper/caseHandler/DisposeRecordMapper.xml b/ycl-platform/src/main/resources/mapper/caseHandler/DisposeRecordMapper.xml
index c47e565..d4c54ff 100644
--- a/ycl-platform/src/main/resources/mapper/caseHandler/DisposeRecordMapper.xml
+++ b/ycl-platform/src/main/resources/mapper/caseHandler/DisposeRecordMapper.xml
@@ -28,6 +28,7 @@
         t3.event_source,
         t3.category,
         t2.step_name,
+        t3.`id` caseId,
         t3.`code`,
         t2.create_time,
         t2.limit_time
@@ -36,7 +37,7 @@
         left JOIN ums_dispose_record t2 ON t1.role_id = t2.handler_role_id
         left JOIN ums_base_case t3 ON t2.base_case_id=t3.id
         <where>
-            t1.admin_id = #{id}
+            t1.admin_id = #{id} and t3.`code` is not null
             AND ISNULL( t2.end_time )
             <if test="code!='' and code!=null">
                 and t3.`code` LIKE CONCAT('%',#{code},'%')
@@ -47,6 +48,7 @@
         t3.event_source,
         t3.category,
         t2.step_name,
+        t3.`id` caseId,
         t3.`code`,
         t2.create_time,
         t2.limit_time

--
Gitblit v1.8.0