提交修改

This commit is contained in:
quyixiao 2020-11-05 17:36:27 +08:00
parent 500793fabb
commit 660a4ebf5d

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) {