Commit 8dca3834 by guojuxing

权限集回显修复

parent fef5d4ee
......@@ -71,11 +71,11 @@ public class RoleController {
//app已购买应用
ServiceResponse<List<MenuDTO>> appResult = menuApiService
.listAppPageOfHasBuy(UserDetailUtils.getUserDetail().getEnterpriseId());
Map<Integer, Object> appMap = new HashMap<>(16);
Map<String, Object> appMap = new HashMap<>(16);
if (gicResult.isSuccess()) {
List<MenuDTO> appMenuList = appResult.getResult();
for (MenuDTO menuDTO : appMenuList) {
appMap.put(menuDTO.getMenuId(), 1);
appMap.put(menuDTO.getMenuId().toString(), 1);
}
}
vo.setAppMap(changeListToSelectTree(MenuLevelConstants.FIRST_LEVEL_PARENT_ID, menuListResult.getResult(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment