From 97f1e154f2508b0ef7289b0dff51c81437d3e153 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 2 Apr 2024 11:28:34 +0800 Subject: [PATCH] =?UTF-8?q?14913=20=E5=AE=89=E5=85=A8=E6=8E=AA=E6=96=BD?= =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E4=BA=BA=E7=AD=BE=E5=AD=97=E5=90=8E=20?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E6=8E=AA=E6=96=BD=E7=A1=AE=E8=AE=A4=E4=BA=BA?= =?UTF-8?q?=E7=AD=BE=E5=AD=97=E4=BF=A1=E6=81=AF=20=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=87=8D=E5=A4=8D=20=E5=90=8E=E7=BB=AD?= =?UTF-8?q?=E5=AE=A1=E6=89=B9=E6=B5=81=E7=A8=8B=E9=83=BD=E8=A6=81=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/highriskwork/impl/HotworkCfdServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/zcloud/service/highriskwork/impl/HotworkCfdServiceImpl.java b/src/main/java/com/zcloud/service/highriskwork/impl/HotworkCfdServiceImpl.java index e84e78cf..a131bd2a 100644 --- a/src/main/java/com/zcloud/service/highriskwork/impl/HotworkCfdServiceImpl.java +++ b/src/main/java/com/zcloud/service/highriskwork/impl/HotworkCfdServiceImpl.java @@ -451,6 +451,11 @@ public class HotworkCfdServiceImpl implements HotworkCfdService { } pd.put("confessUserNames", confess.stream().map(x -> x.getString("USER_NAME")).collect(Collectors.joining(","))); pd.put("confessList", confess); + if (confess.stream().anyMatch(x -> "0".equals(x.getString("APPROVAL_STATUS")))){ + pd.put("confessStatus", "0"); + }else { + pd.put("confessStatus", "1"); + } // 项目责任负责人 PageData belong = approvalInfos.stream().filter(x -> "1".equals(x.getString("TYPE"))).findFirst().orElse(null);