|
|
@@ -31,6 +31,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
+import java.util.Objects;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
/**
|
|
|
@@ -223,6 +224,8 @@ public class SysSystemServiceImpl extends ServiceImpl<SysSystemMapper, SysSystem
|
|
|
if(deptMap.containsKey(sysSystem.getSysCode())){
|
|
|
int count = deptMap.get(sysSystem.getSysCode()).size();
|
|
|
sysSystem.setDeptCount(count);
|
|
|
+ }else{
|
|
|
+ sysSystem.setDeptCount(0);
|
|
|
}
|
|
|
|
|
|
List<String> areas = new ArrayList<>();
|