|
|
@@ -1130,7 +1130,7 @@ public class IotRhDailyReportServiceImpl implements IotRhDailyReportService {
|
|
|
if (projectDeptIds.contains(parentId)) {
|
|
|
// 获得当前部门的上级项目部
|
|
|
projectDeptIds.forEach(projectDeptId -> {
|
|
|
- if (projectDeptId.equals(parentId) && haveDeviceDeptIds.contains(deptId)) {
|
|
|
+ if (projectDeptId.equals(parentId) && haveDeviceDeptIds.contains(deptId) && teamIds.contains(deptId)) {
|
|
|
if (projectTeamPair.containsKey(projectDeptId)) {
|
|
|
Set<Long> tempTeamIds = projectTeamPair.get(projectDeptId);
|
|
|
tempTeamIds.add(deptId);
|