测试问题项修改

This commit is contained in:
csyue 2024-05-29 19:34:25 +08:00
parent 41813e09e9
commit 2ed82325b9
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ public class TmTaskServiceImpl implements TmTaskService {
List<LeaseApplyInfo> collect = tmTaskMapper.getAuditManageListByLeaseInfo(tmTask); List<LeaseApplyInfo> collect = tmTaskMapper.getAuditManageListByLeaseInfo(tmTask);
if (collect.size() > 0) { if (collect.size() > 0) {
int deptId1 = tmTaskMapper.getDeptId(collect.get(0).getCreateBy()); int deptId1 = tmTaskMapper.getDeptId(collect.get(0).getCreateBy());
if (roles.contains("admin")) { if (roles.contains("admin") || deptId == 100) {
// 对领料任务集合查询具体详情 // 对领料任务集合查询具体详情
for (LeaseApplyInfo leaseApplyInfo : collect) { for (LeaseApplyInfo leaseApplyInfo : collect) {
if (leaseApplyInfo != null) { if (leaseApplyInfo != null) {