测试问题项修改

This commit is contained in:
csyue 2024-05-29 13:13:45 +08:00
parent e314a4c4b1
commit 564d5259f4
1 changed files with 4 additions and 9 deletions

View File

@ -619,6 +619,7 @@ public class TmTaskServiceImpl implements TmTaskService {
for (TmTask tmTask : tmTaskList) {
int count = 0;
tmTask.setDeptId(deptId);
if (tmTask != null) {
// 去查询任务分单表
List<LeaseApplyInfo> collect = tmTaskMapper.getAuditManageListByLeaseInfo(tmTask);
@ -645,9 +646,7 @@ public class TmTaskServiceImpl implements TmTaskService {
}
}
}
}
//机具经理书记副经理查看数据
else if (deptId == 101) {
} else if (deptId == 101) { //机具经理书记副经理查看数据
List<LeaseApplyInfo> auditListByLeaseInfo = collect.stream().filter(t -> t.getCompanyId() != null).filter(t -> t.getCompanyId() == 101).collect(Collectors.toList());
if (deptId1 == 101) {
List<LeaseApplyInfo> applyInfoList = collect.stream().filter(t -> t.getCompanyId() != null).filter(t -> t.getCompanyId() == 102).collect(Collectors.toList());
@ -676,9 +675,7 @@ public class TmTaskServiceImpl implements TmTaskService {
}
}
}
}
// 调试公司可以看到的数据权限
else if (deptId == 102) {
} else if (deptId == 102) { // 调试公司可以看到的数据权限
List<LeaseApplyInfo> auditListByLeaseInfo = collect.stream().filter(t -> t.getCompanyId() != null).filter(t -> t.getCompanyId() == 102).collect(Collectors.toList());
if (deptId1 == 102) {
List<LeaseApplyInfo> list2 = collect.stream().filter(t -> t.getCompanyId() != null).filter(t -> t.getCompanyId() == 101).collect(Collectors.toList());
@ -707,9 +704,7 @@ public class TmTaskServiceImpl implements TmTaskService {
}
}
}
}
//其他各分公司可以看到的数据权限
else if (deptId == deptId1) {
} else if (deptId == deptId1) { //其他各分公司可以看到的数据权限
// 对领料任务集合查询具体详情
for (LeaseApplyInfo leaseApplyInfo : collect) {
if (leaseApplyInfo != null) {