修改
This commit is contained in:
parent
8f92fd463f
commit
8c68f0b7c0
@ -597,7 +597,7 @@ public class InspectionInfoServiceImpl extends ServiceImpl<InspectionInfoMapper,
|
|||||||
wrapper.eq(InspectionWorkNode::getStatus, status);
|
wrapper.eq(InspectionWorkNode::getStatus, status);
|
||||||
}
|
}
|
||||||
InspectionInfo inspectionInfo = baseMapper.selectById(id);
|
InspectionInfo inspectionInfo = baseMapper.selectById(id);
|
||||||
if (!inspectionInfo.getLeadManId().equals(userId)) {
|
if (ObjectUtil.isEmpty(inspectionInfo.getLeadManId()) || !inspectionInfo.getLeadManId().equals(userId)) {
|
||||||
wrapper.in(InspectionWorkNode::getRoleId, roleIds);
|
wrapper.in(InspectionWorkNode::getRoleId, roleIds);
|
||||||
}
|
}
|
||||||
List<InspectionWorkNode> workNodes = workNodeService.list(wrapper);
|
List<InspectionWorkNode> workNodes = workNodeService.list(wrapper);
|
||||||
|
Loading…
Reference in New Issue
Block a user