浏览代码

Merge remote-tracking branch 'origin/master'

yewc 1 年之前
父节点
当前提交
0ce5f9ab13

+ 2 - 2
zjugis-business/src/main/java/com/zjugis/business/flow/commoncost/event/CommonCostEvent.java

@@ -406,7 +406,7 @@ public class CommonCostEvent extends BaseController {
             depts.add(entity.getDeptId());
             AtomicBoolean deptFlag = new AtomicBoolean(true);
             zrbmIdList.forEach(x->{
-               if(!CollectionUtil.contains(depts, zrbmIdList)){
+               if(!CollectionUtil.contains(depts, x)){
                    deptFlag.set(false);
                    return ;
                }
@@ -439,7 +439,7 @@ public class CommonCostEvent extends BaseController {
             depts.add(entity.getDeptId());
             AtomicBoolean deptFlag = new AtomicBoolean(true);
             zrbmIdList.forEach(x->{
-                if(!CollectionUtil.contains(depts, zrbmIdList)){
+                if(!CollectionUtil.contains(depts, x)){
                     deptFlag.set(false);
                     return ;
                 }