显示扣缴义务人的角色
This commit is contained in:
parent
4d51b6e57c
commit
9eea989bf2
|
|
@ -176,7 +176,7 @@ public class TaxAgentBO {
|
|||
map.put("id", e.getId());
|
||||
map.put("name", e.getName());
|
||||
map.put("employeeRange", "设置");
|
||||
map.put("role", rolelistMap.getOrDefault(e.getId(), Collections.emptyList()));
|
||||
map.put("role", rolelistMap.getOrDefault(e.getId(), Collections.emptyList()).stream().map(AuthRolePO::getName).collect(Collectors.joining(",")));
|
||||
if (isDevolution) {
|
||||
List<Long> empIds = taxAgentAdmins.stream().filter(t -> t.getTaxAgentId().equals(e.getId())).map(TaxAgentAdminPO::getEmployeeId).collect(Collectors.toList());
|
||||
List<String> admins = adminList.stream().filter(a -> empIds.contains(a.getEmployeeId())).map(DataCollectionEmployee::getUsername).collect(Collectors.toList());
|
||||
|
|
|
|||
Loading…
Reference in New Issue