diff --git a/src/main/java/com/chint/application/dtos/system/RolePageDto.java b/src/main/java/com/chint/application/dtos/system/RolePageDto.java index 3aa2d6d0..48edd241 100644 --- a/src/main/java/com/chint/application/dtos/system/RolePageDto.java +++ b/src/main/java/com/chint/application/dtos/system/RolePageDto.java @@ -7,6 +7,7 @@ public class RolePageDto { private String name; private String employeeNo; private String roleName; + private Long userId; private Long roleId; private Long roleUserId; private String roleDesc; diff --git a/src/main/java/com/chint/domain/service/UserDomainService.java b/src/main/java/com/chint/domain/service/UserDomainService.java index 3f6252ec..489380c3 100644 --- a/src/main/java/com/chint/domain/service/UserDomainService.java +++ b/src/main/java/com/chint/domain/service/UserDomainService.java @@ -49,6 +49,7 @@ public class UserDomainService { RolePageDto obj = new RolePageDto(); obj.setName(temp.getName()); obj.setEmployeeNo(temp.getEmployeeNo()); + obj.setUserId(temp.getUserId()); List roleUser = roleUsers.stream() .filter(s -> s.getUserId().equals(temp.getUserId())) .toList();