-
Notifications
You must be signed in to change notification settings - Fork 1
๐ย :: ์์ ์ ์ถ์ ์ํ ์กฐํ #348
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pr์ assignee์ label ๋ฑ๋กํด์ฃผ์ธ์
src/main/kotlin/com/msg/gcms/domain/attendance/service/impl/FindAttendSelfCheckServiceImpl.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/com/msg/gcms/domain/attendance/service/impl/FindAttendSelfCheckServiceImpl.kt
Outdated
Show resolved
Hide resolved
} | ||
|
||
val period = getCurrentPeriod() | ||
val attend = attendanceRepository.findByPeriodAndUser(period, user) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ง์ฝ์ ์ด๋ ๊ฒ ์ฟผ๋ฆฌ๋ฅผ ๋ ๋ฆฌ๊ฒ ๋๋ค๋ฉด NonUniqueResultException์ด ๋ฐ์ํ ๊ฒ ๊ฐ๋ค์
ํ์ฌ ๋ ์ง๋ฅผ ๊ธฐ์ค์ผ๋ก Schedule ์ํฐํฐ๋ฅผ ์ฐพ์์์ Attendace๋ฅผ findํ๋ ์ฟผ๋ฆฌ๋ฅผ ๋ ๋ฆด ๋ ์กฐ๊ฑด์ผ๋ก ์ถ๊ฐํ๋ ์์ผ๋ก ํด๊ฒฐํด๋ ์ข์ ๊ฒ ๊ฐ์์
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์์ ํ์ต๋๋ค
src/main/kotlin/com/msg/gcms/domain/attendance/service/FindAttendSelfCheckService.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/com/msg/gcms/domain/attendance/presentation/AttendanceController.kt
Outdated
Show resolved
Hide resolved
data class AttendSelfCheckResponseDto( | ||
val attendanceStatus: AttendanceStatus | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๋ค์ฌ์ฐ๊ธฐ๊ฐ ๋๋ฌด ๋ง์ด ๋๊ฒ๊ฐ์์!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์์ ํ์ต๋๋ค
class FindAttendSelfCheckServiceImpl ( | ||
private val userUtil: UserUtil, | ||
private val attendanceRepository: AttendanceRepository, | ||
private val clubRepository: ClubRepository, | ||
private val attendanceConverter: AttendanceConverter | ||
): FindAttendSelfCheckService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
์ฌ๊ธฐ๋ ๋ค์ฌ์ฐ๊ธฐ๊ฐ ๋ง์ด ๋๊ฒ๊ฐ์์ฉ
โฆndAttendSelfCheckServiceImpl.kt Co-authored-by: ๊นํ์ค <103710151+KimTaeO@users.noreply.github.com>
โฆendSelfCheckService.kt Co-authored-by: ๋ ธํ์ฃผ <106813267+ani2689@users.noreply.github.com>
โฆtendanceController.kt Co-authored-by: ๋ ธํ์ฃผ <106813267+ani2689@users.noreply.github.com>
src/main/kotlin/com/msg/gcms/domain/attendance/service/impl/FindAttendSelfCheckServiceImpl.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/com/msg/gcms/domain/attendance/service/impl/FindAttendSelfCheckServiceImpl.kt
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
๐ฏ
๐ก ๋ฐฐ๊ฒฝ ๋ฐ ๊ฐ์
์ ์๋๊ป์ ์ด๋ฐ ๊ธฐ๋ฅ์ด ์์ผ๋ฉด ์ข๊ฒ ๋ค๊ณ ํ์ จ๊ธฐ ๋๋ฌธ์ ๋๋ค
Resolves: #347
๐ ์์ ๋ด์ฉ
๋ณธ์ธ์ ์ถ์ ์ํ ์กฐํ ๊ธฐ๋ฅ๋ฅผ ๊ตฌํํ์์ต๋๋ค
โ PR ์ฒดํฌ๋ฆฌ์คํธ
.env
,๋ ธ์
,README
)"API ๊ฐ๋ฐ ์๋ฃ๋์ด์"
,"ํ๊ฒฝ๊ฐ ์ถ๊ฐ๋์์ด์"
)๐ธ ๊ธฐํ