From ad6a05f2535c1f29a764f352d8ca666cae1b97d1 Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期六, 22 二月 2025 17:06:28 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/project_management-java --- 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 658c980..4febc7a 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 @@ -69,6 +72,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