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-11-05 18:18:04 +08:00
commit 770f0f25b5

View File

@ -371,12 +371,7 @@ public class StaffRoleServiceImpl extends ServiceImpl<StaffRoleMapper, StaffRole
List<EvaluationGroupInfo> evaluationGroupInfos = staffRoleEvaluationGroupService.selectStaffRoleEvaluationGroupBy(roleModel.getId());
info.setEvaluationGroupInfos(evaluationGroupInfos);
List<StaffMenu> all = staffMenuService.selectAll();
List<StaffMenu> roots = staffMenuService.selectByParentId(0l);
for (StaffMenu root : roots) {
getStaffMenuInfo(root, all);
}
info.setStaffMenuInfos(roots);
info.setStaffMenuInfos(all);
List<StaffMenu> staffMenus = staffRoleMenuService.selectByRoleId(staffRole.getId());
List<Long> selectStaffMenuInfos = new ArrayList<>();
for (StaffMenu staffMenu : staffMenus) {