From c82539bd712e9292d9e629371f6050b1c74f2303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=90=A6=E6=B6=9B?= <18222067976@163.com> Date: Fri, 3 Sep 2021 09:11:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=AA=8C=E8=AF=81=E6=94=B6?= =?UTF-8?q?=E8=B4=B9=E9=80=9A=E7=9F=A5=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/PayWorkingGroupSubItemController.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java b/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java index ac96bcfe..af628e03 100644 --- a/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java +++ b/jero-boot-incoming-payment/src/main/java/com/jero/project/controller/PayWorkingGroupSubItemController.java @@ -316,14 +316,14 @@ public class PayWorkingGroupSubItemController extends JeroController list = payWorkingGroupSubItemService.list(); if(!CollectionUtils.isEmpty(list)){ - List listNew = list.stream().filter(p->Objects.equals(p.getChargeWay(),PayProjectCommon.CHARGE_WAY3)).collect(Collectors.toList()); - if(CollectionUtils.isEmpty(listNew)){ + List listNew = list.stream().filter(p->!Objects.equals(p.getChargeWay(),PayProjectCommon.CHARGE_WAY3)).collect(Collectors.toList()); + if(!CollectionUtils.isEmpty(listNew)){ return Result.error("存在来款方式不是收费通知的选项!"); } }else{ return Result.error("请选择项目!"); } - return Result.OK("设置收费通知成功!"); + return Result.OK("来款方式都是收费通知!"); } /**