This commit is contained in:
DirectionOfMind 2020-12-28 10:57:04 +08:00
parent fb8627a020
commit 1f3fe56bf4

View File

@ -377,7 +377,9 @@ public class ChartResultServiceImpl implements ChartResultService {
return Collections.EMPTY_LIST;
}
log.info("selectChartDetailList 管理部门:" + JSON.toJSONString(mandepartmentIds));
mandepartmentIds.retainAll(allDeparmentIds);
if(CollectionUtils.isNotEmpty(allDeparmentIds)){
mandepartmentIds.retainAll(allDeparmentIds);
}
if(mandepartmentIds.size()==0){
return Collections.EMPTY_LIST;
}