Commit e07cb74e by stylefeng

bug fix #IHE4K

parent 218645a4
...@@ -305,7 +305,7 @@ public class ConstantFactory implements IConstantFactory { ...@@ -305,7 +305,7 @@ public class ConstantFactory implements IConstantFactory {
ArrayList<Integer> deptids = new ArrayList<>(); ArrayList<Integer> deptids = new ArrayList<>();
if(depts != null || depts.size() > 0){ if(depts != null && depts.size() > 0){
for (Dept dept : depts) { for (Dept dept : depts) {
deptids.add(dept.getId()); deptids.add(dept.getId());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment