|
@@ -139,7 +139,7 @@ public class DataService implements IDataService {
|
|
|
List<DataGroupVo> dataGroupVos = new ArrayList<>();
|
|
|
for (TmDepartment department : deptVoList) {
|
|
|
Long count = map.get(department.getId()) == null? 0L : map.get(department.getId());
|
|
|
- if(department.getChildren() != null && department.getChildren().size() >0){
|
|
|
+ if(!department.getNoStatisticsSon() && department.getChildren() != null && department.getChildren().size() >0){
|
|
|
count += addCountByDept(department.getChildren(), map);
|
|
|
}
|
|
|
DataGroupVo vo = new DataGroupVo();
|