67523 法规清单列表查询权限,法规、接口人、设计或验证责任人 只要有个一包含普通用户就可以看到。
This commit is contained in:
+3
-1
@@ -1117,7 +1117,9 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
|||||||
&& isProjectRole != Integer.parseInt(ProjectRoleEnum.VIEWER.getValue())){
|
&& isProjectRole != Integer.parseInt(ProjectRoleEnum.VIEWER.getValue())){
|
||||||
projectLawsInventoryEOQueryWrapper.and(queryWrapper ->{
|
projectLawsInventoryEOQueryWrapper.and(queryWrapper ->{
|
||||||
queryWrapper.eq("regulation_owner_id",currentUser.getId()).
|
queryWrapper.eq("regulation_owner_id",currentUser.getId()).
|
||||||
or().eq("homologation_engineer_id",currentUser.getId());
|
or().eq("engineering_interface_person",currentUser.getId()).
|
||||||
|
or().eq("design_duty_id",currentUser.getId()).
|
||||||
|
or().eq("verify_duty_id",currentUser.getId());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
List<ProjectLawsInventoryEO> result = super.baseMapper.selectList(projectLawsInventoryEOQueryWrapper);
|
List<ProjectLawsInventoryEO> result = super.baseMapper.selectList(projectLawsInventoryEOQueryWrapper);
|
||||||
|
|||||||
Reference in New Issue
Block a user