From 973caddffafba85e75a84c09d77e3ea53c27903f Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期三, 12 二月 2025 22:29:09 +0800 Subject: [PATCH] flowable模块中的流程日志移动到business模块,新增流程推进日志接口 --- 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