-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #192 from kssumin/main
[BE/FIX] 로그인 관련 에러 해결
- Loading branch information
Showing
43 changed files
with
485 additions
and
247 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
...ain/java/com/blackcompany/eeos/attend/application/dto/AttendInfoActiveStatusResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.blackcompany.eeos.attend.application.dto; | ||
|
||
import com.blackcompany.eeos.common.support.dto.AbstractResponseDto; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder(toBuilder = true) | ||
public class AttendInfoActiveStatusResponse implements AbstractResponseDto { | ||
private Long memberId; | ||
private String name; | ||
private String activeStatus; | ||
private String attendStatus; | ||
} |
16 changes: 16 additions & 0 deletions
16
...in/java/com/blackcompany/eeos/attend/application/dto/QueryAttendActiveStatusResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package com.blackcompany.eeos.attend.application.dto; | ||
|
||
import com.blackcompany.eeos.common.support.dto.AbstractResponseDto; | ||
import java.util.List; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Builder(toBuilder = true) | ||
public class QueryAttendActiveStatusResponse implements AbstractResponseDto { | ||
private List<AttendInfoActiveStatusResponse> members; | ||
} |
18 changes: 18 additions & 0 deletions
18
...m/blackcompany/eeos/attend/application/dto/converter/AttendInfoActiveStatusConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.blackcompany.eeos.attend.application.dto.converter; | ||
|
||
import com.blackcompany.eeos.attend.application.dto.AttendInfoActiveStatusResponse; | ||
import com.blackcompany.eeos.member.application.model.MemberModel; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class AttendInfoActiveStatusConverter { | ||
public AttendInfoActiveStatusResponse from( | ||
MemberModel source, String attendStatus, String activeStatus) { | ||
return AttendInfoActiveStatusResponse.builder() | ||
.memberId(source.getId()) | ||
.name(source.getName()) | ||
.activeStatus(activeStatus) | ||
.attendStatus(attendStatus) | ||
.build(); | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
.../blackcompany/eeos/attend/application/dto/converter/QueryAttendActiveStatusConverter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package com.blackcompany.eeos.attend.application.dto.converter; | ||
|
||
import com.blackcompany.eeos.attend.application.dto.AttendInfoActiveStatusResponse; | ||
import com.blackcompany.eeos.attend.application.dto.QueryAttendActiveStatusResponse; | ||
import java.util.List; | ||
import org.springframework.stereotype.Component; | ||
|
||
@Component | ||
public class QueryAttendActiveStatusConverter { | ||
public QueryAttendActiveStatusResponse of(List<AttendInfoActiveStatusResponse> response) { | ||
return QueryAttendActiveStatusResponse.builder().members(response).build(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
...blackcompany/eeos/attend/application/usecase/GetAttendAllInfoSortActiveStatusUsecase.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
package com.blackcompany.eeos.attend.application.usecase; | ||
|
||
import com.blackcompany.eeos.attend.application.dto.QueryAttendStatusResponse; | ||
import com.blackcompany.eeos.attend.application.dto.QueryAttendActiveStatusResponse; | ||
|
||
/** 프로그램에 관련 없음 대상자도 활동 상태를 기준으로 조회한다. */ | ||
public interface GetAttendAllInfoSortActiveStatusUsecase { | ||
QueryAttendStatusResponse execute(final Long programId, final String activeStatus); | ||
QueryAttendActiveStatusResponse getAttendInfo(final Long programId, final String activeStatus); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.