|
|
@@ -76,7 +76,7 @@ public class QueryInspectionFileListByDeptUserTypeService { |
|
|
|
inspectionFileList = inspectionFileMapper.selectList(Wrappers.<InspectionFile>lambdaQuery() |
|
|
|
.eq(InspectionFile::getMark, MarkEnum.VALID.getCode()) |
|
|
|
.eq(InspectionFile::getTenantId, user.getTenantId()) |
|
|
|
.in(InspectionFile::getStatus, 20, 25)); |
|
|
|
.in(InspectionFile::getStatus, 15, 20, 25)); |
|
|
|
} else if (DataPermissionEnum.DEPT_AND_SUB_DEPT.getCode() == user.getDataPermission() || DataPermissionEnum.DEPT.getCode() == user.getDataPermission()) { |
|
|
|
//若角色为部门管理员或普通用户 |
|
|
|
//获取用户对应的部门 |