From 4b724593c69fac247452d2b529b0e98cb237712d Mon Sep 17 00:00:00 2001 From: wangliwen Date: Mon, 5 Dec 2022 10:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=82=E3=80=82=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/TAbilityApplicationController.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java index 8c46b07d..eefb6f63 100644 --- a/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java +++ b/renren-admin/src/main/java/io/renren/modules/processForm/controller/TAbilityApplicationController.java @@ -370,6 +370,7 @@ public class TAbilityApplicationController { AtomicReference allowReminders = new AtomicReference<>(Boolean.FALSE); // 是否允许催办 AtomicReference doneReminders = new AtomicReference<>(Boolean.FALSE); // 是否已执行过催办 AtomicReference nextRemindersDays = new AtomicReference<>(0); // 下次催办多少天后 + taskHandleDetailInfo = taskHandleDetailInfo.stream().map(index_ -> { // 补充审核人部门名称 if (StringUtils.isNumeric(index_.getAssignee())) { SysUserDTO userDTO = sysUserService.get(Long.valueOf(index_.getAssignee())); @@ -392,6 +393,7 @@ public class TAbilityApplicationController { .stream() .findFirst(); // 尝试获取当前task if (nowTask.isPresent() && nowTask.get().getId().equals(index_.getTaskId())) { // 存在正在进行的任务 + logger.info("该流程最新task:" + nowTask.get().getId()); LocalDate localDate = tRemindersService.selectRemindersTime(nowTask.get().getId()); if (localDate == null) { // 最新流程未进行过催办 allowReminders.set(Boolean.TRUE); @@ -419,9 +421,9 @@ public class TAbilityApplicationController { } } } else { - allowReminders.set(Boolean.FALSE); - doneReminders.set(Boolean.FALSE); - nextRemindersDays.set(0); +// allowReminders.set(Boolean.FALSE); +// doneReminders.set(Boolean.FALSE); +// nextRemindersDays.set(0); index_.setAllowReminders(Boolean.FALSE); index_.setDoneReminders(Boolean.FALSE); index_.setNextRemindersDays(0);