Merge branch 'version_performance_2.0' of http://gitlab.ldxinyong.com/enterpriseManagement/lz_management into version_performance_2.0
This commit is contained in:
commit
f2f5d4e038
@ -474,6 +474,10 @@ public class StaffRoleServiceImpl extends ServiceImpl<StaffRoleMapper, StaffRole
|
|||||||
List<StaffRole> staffRoleList = staffRoleMapper.selectAllByStaffId(userId);
|
List<StaffRole> staffRoleList = staffRoleMapper.selectAllByStaffId(userId);
|
||||||
List<StaffMenu> staffMenus = new ArrayList<>();
|
List<StaffMenu> staffMenus = new ArrayList<>();
|
||||||
DepartmentsStaffRelateEntity departmentsStaffRelateEntity = departmentsStaffRelateService.selectLastDepartmentByStaffId(userId);
|
DepartmentsStaffRelateEntity departmentsStaffRelateEntity = departmentsStaffRelateService.selectLastDepartmentByStaffId(userId);
|
||||||
|
List<StaffMenu> commonStaffList= staffMenuService.selectByParentId( RoleMenuEnums.COMMON_STAFF.getType());
|
||||||
|
if(CollectionUtils.isNotEmpty(commonStaffList)){
|
||||||
|
staffMenus.addAll(commonStaffList);
|
||||||
|
}
|
||||||
if(new Integer(1).equals(departmentsStaffRelateEntity.getIsLeader())){
|
if(new Integer(1).equals(departmentsStaffRelateEntity.getIsLeader())){
|
||||||
List<StaffMenu> staffMenuDepartmentList= staffMenuService.selectByParentId( RoleMenuEnums.DEPARTMENT_PM.getType());
|
List<StaffMenu> staffMenuDepartmentList= staffMenuService.selectByParentId( RoleMenuEnums.DEPARTMENT_PM.getType());
|
||||||
if(CollectionUtils.isNotEmpty(staffMenuDepartmentList)){
|
if(CollectionUtils.isNotEmpty(staffMenuDepartmentList)){
|
||||||
|
|||||||
@ -1139,10 +1139,10 @@ public class ResultRecordServiceImpl extends ServiceImpl<ResultRecordMapper, Res
|
|||||||
if(currentResultRecords !=null && currentResultRecords.size() > 0 ){
|
if(currentResultRecords !=null && currentResultRecords.size() > 0 ){
|
||||||
FlowRecord currentFlowRecord = currentResultRecords.get(0);
|
FlowRecord currentFlowRecord = currentResultRecords.get(0);
|
||||||
int flowProcess = currentFlowRecord.getFlowProcess();
|
int flowProcess = currentFlowRecord.getFlowProcess();
|
||||||
if(flowProcess < 3 ){
|
if(flowProcess <= 3 ){
|
||||||
auth.put("showResult",0);
|
auth.put("showResult",0);
|
||||||
}
|
}
|
||||||
if( flowProcess < 4 ){
|
if( flowProcess <= 4 ){
|
||||||
auth.put("showScore",0);
|
auth.put("showScore",0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user