diff --git a/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java b/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java index 2cf31982..8395d1c7 100644 --- a/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java +++ b/src/main/java/com/lz/modules/sys/service/app/impl/ResultRecordServiceImpl.java @@ -1137,6 +1137,15 @@ public class ResultRecordServiceImpl extends ServiceImpl currentResultRecords = flowRecordService.selectFlowRecordByRecordIdStatus(recordDetailDto.getResultRecordId(),2); log.info("当前用户登陆用户 id :" + recordDetailDto.getLoginUserId()); if(currentResultRecords !=null && currentResultRecords.size() > 0 ){ + FlowRecord currentFlowRecord = currentResultRecords.get(0); + int flowProcess = currentFlowRecord.getFlowProcess(); + if(flowProcess < 3 ){ + auth.put("showResult",0); + } + if( flowProcess < 4 ){ + auth.put("showScore",0); + } + FlowRecord currentResultRecord = null; for(FlowRecord flowRecord:currentResultRecords){ if(flowRecord.getApprovalStaffId().equals(recordDetailDto.getLoginUserId())){ @@ -1146,14 +1155,6 @@ public class ResultRecordServiceImpl extends ServiceImpl map = JSONObject.parseObject(currentResultRecord.getFlowStaffIdRole(),Map.class); List roleIds = null;