From 311546be104f52582bb06f0326846796edf99b1b Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 19 二月 2025 10:39:04 +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