Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0

This commit is contained in:
wulin 2020-12-03 10:37:16 +08:00
commit a291292278

View File

@ -1188,7 +1188,6 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
Map<String,Integer> auth = new HashMap<>();
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 ){
@ -1215,6 +1214,12 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
}
}
}
//如果是绩效管理员有一键催办功能
StaffRole staffRole = staffRoleService.selectStaffRolesByStaffIdDepartmentLevelList(recordDetailDto.getLoginUserId(),
Arrays.asList(new String[]{RoleEnums.CHILD_PM.getName(),RoleEnums.MASTER_PM.getName()}));
if(staffRole !=null){
auth.put("toFast",1);
}
auth.put("tiaozhuang",0);
Map<String, Object> map = new HashMap<>();
map.put("flowRecordList", flowRecordList);