From 178b4ee9f38a8b38b1cb5321fee25a6038b39df9 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 19 二月 2025 11:05:28 +0800
Subject: [PATCH] 中标单位id设为null

---
 business/src/main/java/com/ycl/listener/flowable/FlowableOverTimeListener.java |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/business/src/main/java/com/ycl/listener/flowable/FlowableOverTimeListener.java b/business/src/main/java/com/ycl/listener/flowable/FlowableOverTimeListener.java
index b63fd97..8a036dd 100644
--- a/business/src/main/java/com/ycl/listener/flowable/FlowableOverTimeListener.java
+++ b/business/src/main/java/com/ycl/listener/flowable/FlowableOverTimeListener.java
@@ -17,6 +17,7 @@
 import java.util.List;
 
 import static com.ycl.common.constant.ProcessOverTimeConstants.GREEN;
+import static com.ycl.common.constant.ProcessOverTimeConstants.NORMAL;
 
 /**
  * 浠诲姟鐩戝惉鍣�
@@ -40,6 +41,10 @@
      * 绾㈢爜鏃堕棿
      */
     private FixedValue 绾㈢爜鏃堕暱;
+    /**
+     * 鍔炵悊鏈熼檺
+     */
+    private FixedValue 鍔炵悊鏈熼檺;
     /**
      * 璁℃椂璧峰鑺傜偣瀹氫箟Id
      */
@@ -66,15 +71,21 @@
                 .orderByDesc("gmt_create"));
         if(!CollectionUtils.isEmpty(processCodings)){
             processCoding.setStatus(processCodings.get(0).getStatus());
+            processCoding.setOvertimeStatus(processCodings.get(0).getOvertimeStatus());
         }else {
             processCoding.setStatus(GREEN);
+            processCoding.setOvertimeStatus(NORMAL);
         }
+
         if (榛勭爜鏃堕暱 != null && 榛勭爜鏃堕暱.getValue(delegateTask) != null) {
             processCoding.setYellowTime(榛勭爜鏃堕暱.getValue(delegateTask).toString());
         }
         if (绾㈢爜鏃堕暱 != null && 绾㈢爜鏃堕暱.getValue(delegateTask) != null) {
             processCoding.setRedTime(绾㈢爜鏃堕暱.getValue(delegateTask).toString());
         }
+        if (鍔炵悊鏈熼檺 != null && 鍔炵悊鏈熼檺.getValue(delegateTask) != null) {
+            processCoding.setOvertime(鍔炵悊鏈熼檺.getValue(delegateTask).toString());
+        }
         //璁剧疆寮�濮嬭妭鐐�
         if (寮�濮嬭鏃惰妭鐐� != null && 寮�濮嬭鏃惰妭鐐�.getValue(delegateTask) != null) {
             String taskDefKey = 寮�濮嬭鏃惰妭鐐�.getValue(delegateTask).toString();

--
Gitblit v1.8.0