From 8c0f0d672caeb3f41e3ce87e853d0c33fbfe7d47 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期三, 12 二月 2025 17:47:45 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 business/src/main/java/com/ycl/task/FlowableTask.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/business/src/main/java/com/ycl/task/FlowableTask.java b/business/src/main/java/com/ycl/task/FlowableTask.java
index 9112494..ecc8ed0 100644
--- a/business/src/main/java/com/ycl/task/FlowableTask.java
+++ b/business/src/main/java/com/ycl/task/FlowableTask.java
@@ -91,9 +91,13 @@
                 String overtimeStatus = NORMAL;
                 if (overtime != null && overtime !=0 && durationDay >= overtime) {
                     overtimeStatus = OVERTIME; // 濡傛灉瓒呰繃鍔炵悊鏈熼檺
-                } else if (overtime != null && overtime != 0 && durationDay >= (overtime - 12 * 60 * 60)) {
+                }
+                else if (overtime != null && overtime != 0 && durationDay >= (overtime - 12 * 60 * 60)) {
                     overtimeStatus = WILLOVERTIME; // 濡傛灉涓存湡(鍥哄畾瓒呮椂鍓�12灏忔椂涓轰复鏈�)
                 }
+//                else if (overtime != null && overtime != 0 && durationDay >= (overtime - 60)) {
+//                    overtimeStatus = WILLOVERTIME; // 濡傛灉涓存湡(鍥哄畾瓒呮椂鍓�12灏忔椂涓轰复鏈�)
+//                }
                 List<String> processInsIds = map.get(status);
                 processInsIds.add(task.getProcessInstanceId());
 
@@ -123,6 +127,8 @@
                 hours = Integer.parseInt(timeArr[1]);
             }
             time = (days * 24L + hours) * 3600L;
+//            //鍒�-绉�
+//            time= (days * 60L) + hours;
         }
         return time;
     }

--
Gitblit v1.8.0