提交修改
This commit is contained in:
parent
a556bbbb6b
commit
43955bff8a
@ -1131,8 +1131,9 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
|
||||
}
|
||||
|
||||
Map<String,Integer> auth = new HashMap<>();
|
||||
auth.put("showScore",1);
|
||||
auth.put("showResult",1);
|
||||
auth.put("showScore",1);
|
||||
|
||||
List<FlowRecord> currentResultRecords = flowRecordService.selectFlowRecordByRecordIdStatus(recordDetailDto.getResultRecordId(),2);
|
||||
log.info("当前用户登陆用户 id :" + recordDetailDto.getLoginUserId());
|
||||
if(currentResultRecords !=null && currentResultRecords.size() > 0 ){
|
||||
@ -1145,6 +1146,14 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
|
||||
}
|
||||
}
|
||||
if(currentResultRecord !=null){
|
||||
int flowProcess = currentResultRecord.getFlowProcess();
|
||||
if(flowProcess < 3 ){
|
||||
auth.put("showResult",0);
|
||||
}
|
||||
if( flowProcess < 4 ){
|
||||
auth.put("showScore",0);
|
||||
}
|
||||
|
||||
if(StringUtil.isNotBlank(currentResultRecord.getFlowStaffIdRole())){
|
||||
Map<String,Object> map = JSONObject.parseObject(currentResultRecord.getFlowStaffIdRole(),Map.class);
|
||||
List<Long> roleIds = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user