From 0dc45111f75bf924d65cec00019f70c405e05225 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期三, 05 三月 2025 16:02:14 +0800
Subject: [PATCH] 主公司可以查看、办理子公司的任务

---
 flowable/src/main/resources/mapper/ProcessLogMapper.xml |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/flowable/src/main/resources/mapper/ProcessLogMapper.xml b/flowable/src/main/resources/mapper/ProcessLogMapper.xml
index 6319ad0..8b788c5 100644
--- a/flowable/src/main/resources/mapper/ProcessLogMapper.xml
+++ b/flowable/src/main/resources/mapper/ProcessLogMapper.xml
@@ -76,6 +76,7 @@
             TFL.deleted = 0 AND TFL.process_ins_id = #{query.processInsId}
             <if test="query.taskId != null and query.taskId != ''">AND TFL.task_id = #{query.taskId}</if>
             <if test="query.projectId != null and query.projectId != ''">AND TFL.project_id = #{query.projectId}</if>
+            <if test="query.taskDefKey != null and query.taskDefKey != ''">AND TFL.task_def_key = #{query.taskDefKey}</if>
         ORDER BY
             TFL.gmt_create DESC
     </select>

--
Gitblit v1.8.0