From 95de53b0c3dde45d9f88ccf24e720fffdc20961a Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期日, 02 三月 2025 23:31:56 +0800 Subject: [PATCH] 工程 --- flowable/src/main/resources/mapper/ProcessCodingMapper.xml | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/flowable/src/main/resources/mapper/ProcessCodingMapper.xml b/flowable/src/main/resources/mapper/ProcessCodingMapper.xml index ad0c884..ce66ff6 100644 --- a/flowable/src/main/resources/mapper/ProcessCodingMapper.xml +++ b/flowable/src/main/resources/mapper/ProcessCodingMapper.xml @@ -52,6 +52,9 @@ WHERE TPC.deleted = 0 </select> + <select id="findByTaskId" resultType="com.ycl.domain.entity.ProcessCoding"> + SELECT * from t_process_coding where task_id = #{taskId} + </select> <!-- 鑷畾涔夋壒閲忔洿鏂�,浣跨敤鍓嶅垽鏂璴ist鏄惁涓虹┖ 杞崲涓簊ql update t_process_coding @@ -74,6 +77,11 @@ when id=#{item.id} then #{item.overtimeStatus} </foreach> </trim> + <trim prefix="start_task_time =case" suffix="end,"><!-- 鏋勯�燾ase璇硶 鏈熬鍔犱笂end锛屽鏋滈渶瑕佹洿鏂板涓瓧娈靛鍒惰繖涓猼rim --> + <foreach collection="list" item="item"> + when id=#{item.id} then #{item.startTaskTime} + </foreach> + </trim> </trim> where id in <foreach collection="list" index="index" item="item" separator="," open="(" close=")"> -- Gitblit v1.8.0