From cf834d0cda2556df54f703c4f032e80b0cb30d7d Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期五, 14 二月 2025 17:28:15 +0800 Subject: [PATCH] 赋码排除节点挂起的任务 --- flowable/src/main/resources/mapper/ProcessCodingMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/flowable/src/main/resources/mapper/ProcessCodingMapper.xml b/flowable/src/main/resources/mapper/ProcessCodingMapper.xml index c87910b..ad0c884 100644 --- a/flowable/src/main/resources/mapper/ProcessCodingMapper.xml +++ b/flowable/src/main/resources/mapper/ProcessCodingMapper.xml @@ -10,7 +10,9 @@ <result column="process_ins_id" property="processInsId" /> <result column="yellow_time" property="yellowTime" /> <result column="red_time" property="redTime" /> + <result column="overtime" property="overtime" /> <result column="status" property="status" /> + <result column="overtime_status" property="overtimeStatus" /> </resultMap> @@ -22,7 +24,9 @@ TPC.process_ins_id, TPC.yellow_time, TPC.red_time, + TPC.overtime, TPC.status, + TPC.overtime_status, TPC.id FROM t_process_coding TPC @@ -39,7 +43,9 @@ TPC.process_ins_id, TPC.yellow_time, TPC.red_time, + TPC.overtime, TPC.status, + TPC.overtime_status, TPC.id FROM t_process_coding TPC @@ -63,6 +69,11 @@ when id=#{item.id} then #{item.status} </foreach> </trim> + <trim prefix="overtime_status =case" suffix="end,"><!-- 鏋勯�燾ase璇硶 鏈熬鍔犱笂end锛屽鏋滈渶瑕佹洿鏂板涓瓧娈靛鍒惰繖涓猼rim --> + <foreach collection="list" item="item"> + when id=#{item.id} then #{item.overtimeStatus} + </foreach> + </trim> </trim> where id in <foreach collection="list" index="index" item="item" separator="," open="(" close=")"> -- Gitblit v1.8.0