From 877b973e9926c2683d8700d755b76b80c4a1a809 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Fri, 8 Apr 2022 20:29:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=8A=82=E7=82=B9=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E3=80=81=E6=A0=87=E7=AD=BE=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/xm/core/ctrl/XmTaskExecuserController.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/xm-core/src/main/java/com/xm/core/ctrl/XmTaskExecuserController.java b/xm-core/src/main/java/com/xm/core/ctrl/XmTaskExecuserController.java index 77d3ad59..95bd4fb5 100644 --- a/xm-core/src/main/java/com/xm/core/ctrl/XmTaskExecuserController.java +++ b/xm-core/src/main/java/com/xm/core/ctrl/XmTaskExecuserController.java @@ -257,7 +257,7 @@ public class XmTaskExecuserController { } List msgs=new ArrayList<>(); - if(noAllowUsers.size()>0){ + if(allowUsers.size()>0){ String allowUserNamesStr=StringUtils.arrayToDelimitedString(allowUserNames.toArray(), "、"); msgs.add("成功将【"+allowUserNamesStr+"】请离任务;"); } @@ -265,10 +265,6 @@ public class XmTaskExecuserController { String allowUserNamesStr=StringUtils.arrayToDelimitedString(noAllowUsers.toArray(), "、"); msgs.add("以下人员您无权操作,【"+allowUserNamesStr+"】;"); } - if(allowUserNames.size()>0){ - tips.setOkMsg(msgs.stream().collect(Collectors.joining(" "))); - } - if(allowUserNames.size()>0){ tips.setOkMsg(msgs.stream().collect(Collectors.joining(" "))); }else{