From 8fb0a357affa2e8ca3e2d673f56a217de51f2cc5 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 11 三月 2025 15:59:30 +0800
Subject: [PATCH] 文件大小限制1个G

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

diff --git a/flowable/src/main/resources/mapper/ProcessLogMapper.xml b/flowable/src/main/resources/mapper/ProcessLogMapper.xml
index 1c6c529..8b788c5 100644
--- a/flowable/src/main/resources/mapper/ProcessLogMapper.xml
+++ b/flowable/src/main/resources/mapper/ProcessLogMapper.xml
@@ -73,7 +73,10 @@
                 LEFT JOIN sys_user SU ON SU.user_id = TFL.user_id
                 LEFT JOIN sys_dept SD ON SU.dept_id = SD.dept_id
         WHERE
-            TFL.deleted = 0 AND TFL.project_id = #{query.projectId} AND TFL.process_ins_id = #{query.processInsId}
+            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