fix(task): 解决项目任务评分权限控制和状态更新问题

master
zhaokai 2026-03-19 14:39:11 +08:00
parent 63cb072f8d
commit b8e9aa5a3a
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ public class ProjectTaskQueryExe {
if(canViewScore){ if(canViewScore){
projectTaskScoreInfoCO.setScoreFlag(true); projectTaskScoreInfoCO.setScoreFlag(true);
}else{ }else{
boolean canViewByRole = corpInfoRepository.isSupper() || boolean canViewByRole = (corpInfoRepository.isSupper()&&corpInfoRepository.checkCorp()) ||
(AuthContext.getRoleIds() != null && (AuthContext.getRoleIds() != null &&
AuthContext.getRoleIds().contains(2008483105201106946L)); AuthContext.getRoleIds().contains(2008483105201106946L));
//只有监管端或有特殊管理角色的用户可以查看评分 //只有监管端或有特殊管理角色的用户可以查看评分