phase 4 translation

pull/882/head
vamsikrishnagv 2025-05-25 10:32:25 -07:00
parent 0e98bede80
commit a6068086a4
1 changed files with 1 additions and 1 deletions

View File

@ -113,6 +113,7 @@ public class RoleServiceImpl implements RoleService {
role.setName(resources.getName()); role.setName(resources.getName());
role.setDescription(resources.getDescription()); role.setDescription(resources.getDescription());
role.setDataScope(resources.getDataScope()); role.setDataScope(resources.getDataScope());
role.setDepts(resources.getDepts());
role.setLevel(resources.getLevel()); role.setLevel(resources.getLevel());
roleRepository.save(role); roleRepository.save(role);
// 更新相关缓存 // 更新相关缓存
@ -201,7 +202,6 @@ public class RoleServiceImpl implements RoleService {
map.put("Role description", role.getDescription()); map.put("Role description", role.getDescription());
map.put("Role data scope", role.getDataScope()); map.put("Role data scope", role.getDataScope());
map.put("Role level", role.getLevel()); map.put("Role level", role.getLevel());
map.put("Role status", role.getEnabled() ? "Enabled" : "Disabled");
map.put("Creation date", role.getCreateTime()); map.put("Creation date", role.getCreateTime());
list.add(map); list.add(map);
} }