회원정보 목록 조회 수정

This commit is contained in:
2025-12-15 12:12:52 +09:00
parent bad02af1c1
commit bb1b7a4fa9
2 changed files with 62 additions and 58 deletions

View File

@@ -31,10 +31,14 @@ public class MembersDto {
private String employeeNo; private String employeeNo;
private String status; private String status;
private String statusName; private String statusName;
@JsonFormatDttm private ZonedDateTime createdDttm; @JsonFormatDttm
@JsonFormatDttm private ZonedDateTime updatedDttm; private ZonedDateTime createdDttm;
@JsonFormatDttm private ZonedDateTime firstLoginDttm; @JsonFormatDttm
@JsonFormatDttm private ZonedDateTime lastLoginDttm; private ZonedDateTime firstLoginDttm;
@JsonFormatDttm
private ZonedDateTime lastLoginDttm;
@JsonFormatDttm
private ZonedDateTime statusChgDttm;
public Basic( public Basic(
Long id, Long id,
@@ -44,9 +48,10 @@ public class MembersDto {
String employeeNo, String employeeNo,
String status, String status,
ZonedDateTime createdDttm, ZonedDateTime createdDttm,
ZonedDateTime updatedDttm,
ZonedDateTime firstLoginDttm, ZonedDateTime firstLoginDttm,
ZonedDateTime lastLoginDttm) { ZonedDateTime lastLoginDttm,
ZonedDateTime statusChgDttm
) {
this.id = id; this.id = id;
this.uuid = uuid; this.uuid = uuid;
this.userRole = userRole; this.userRole = userRole;
@@ -56,9 +61,9 @@ public class MembersDto {
this.status = status; this.status = status;
this.statusName = getStatusName(status); this.statusName = getStatusName(status);
this.createdDttm = createdDttm; this.createdDttm = createdDttm;
this.updatedDttm = updatedDttm;
this.firstLoginDttm = firstLoginDttm; this.firstLoginDttm = firstLoginDttm;
this.lastLoginDttm = lastLoginDttm; this.lastLoginDttm = lastLoginDttm;
this.statusChgDttm = statusChgDttm;
} }
private String getUserRoleName(String roleId) { private String getUserRoleName(String roleId) {

View File

@@ -120,14 +120,13 @@ public class MembersRepositoryImpl implements MembersRepositoryCustom {
memberEntity.uuid, memberEntity.uuid,
memberEntity.userRole, memberEntity.userRole,
memberEntity.name, memberEntity.name,
memberEntity.userId,
memberEntity.employeeNo, memberEntity.employeeNo,
memberEntity.tempPassword,
memberEntity.status, memberEntity.status,
memberEntity.createdDttm, memberEntity.createdDttm,
memberEntity.updatedDttm,
memberEntity.firstLoginDttm, memberEntity.firstLoginDttm,
memberEntity.lastLoginDttm)) memberEntity.lastLoginDttm,
memberEntity.statusChgDttm
))
.from(memberEntity) .from(memberEntity)
.where(builder) .where(builder)
.offset(pageable.getOffset()) .offset(pageable.getOffset())