Skip to content
This repository has been archived by the owner on Dec 7, 2024. It is now read-only.

๐Ÿ”€ย :: ์ž์‹ ์˜ ์ถœ์„ ์ƒํƒœ ์กฐํšŒ #348

Merged
merged 20 commits into from
Apr 26, 2024

Conversation

ta2ye0n
Copy link
Contributor

@ta2ye0n ta2ye0n commented Apr 26, 2024

๐Ÿ’ก ๋ฐฐ๊ฒฝ ๋ฐ ๊ฐœ์š”

์„ ์ƒ๋‹˜๊ป˜์„œ ์ด๋Ÿฐ ๊ธฐ๋Šฅ์ด ์žˆ์œผ๋ฉด ์ข‹๊ฒ ๋‹ค๊ณ  ํ•˜์…จ๊ธฐ ๋•Œ๋ฌธ์ž…๋‹ˆ๋‹ค

Resolves: #347

๐Ÿ“ƒ ์ž‘์—…๋‚ด์šฉ

๋ณธ์ธ์˜ ์ถœ์„ ์ƒํƒœ ์กฐํšŒ ๊ธฐ๋Šฅ๋ฅผ ๊ตฌํ˜„ํ•˜์˜€์Šต๋‹ˆ๋‹ค

โœ… PR ์ฒดํฌ๋ฆฌ์ŠคํŠธ

ํ…œํ”Œ๋ฆฟ ์ฒดํฌ๋ฆฌ์ŠคํŠธ ๋ง๊ณ ๋„ ์ถ”๊ฐ€์ ์œผ๋กœ ํ•„์š”ํ•œ ์ฒดํฌ๋ฆฌ์ŠคํŠธ๋Š” ์ถ”๊ฐ€ํ•ด์ฃผ์„ธ์š”!

  • ์ด ์ž‘์—…์œผ๋กœ ์ธํ•ด ๋ณ€๊ฒฝ์ด ํ•„์š”ํ•œ ๋ฌธ์„œ๊ฐ€ ๋ณ€๊ฒฝ๋˜์—ˆ๋‚˜์š”? (e.g. .env, ๋…ธ์…˜, README)
  • ์ด ์ž‘์—…์„ ํ•˜๊ณ ๋‚˜์„œ ๊ณต์œ ํ•ด์•ผํ•  ํŒ€์›๋“ค์—๊ฒŒ ๊ณต์œ ๋˜์—ˆ๋‚˜์š”? (e.g. "API ๊ฐœ๋ฐœ ์™„๋ฃŒ๋์–ด์š”", "ํ™˜๊ฒฝ๊ฐ’ ์ถ”๊ฐ€๋˜์—ˆ์–ด์š”")
  • ์ž‘์—…ํ•œ ์ฝ”๋“œ๊ฐ€ ์ •์ƒ์ ์œผ๋กœ ๋™์ž‘ํ•˜๋‚˜์š”?
  • Merge ๋Œ€์ƒ ๋ธŒ๋žœ์น˜๊ฐ€ ์˜ฌ๋ฐ”๋ฅธ๊ฐ€์š”?
  • PR๊ณผ ๊ด€๋ จ ์—†๋Š” ์ž‘์—…์ด ์žˆ์ง€๋Š” ์•Š๋‚˜์š”?

๐ŸŽธ ๊ธฐํƒ€

Copy link
Contributor

@KimTaeO KimTaeO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pr์— assignee์™€ label ๋“ฑ๋กํ•ด์ฃผ์„ธ์š”

}

val period = getCurrentPeriod()
val attend = attendanceRepository.findByPeriodAndUser(period, user)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋งŒ์•ฝ์— ์ด๋ ‡๊ฒŒ ์ฟผ๋ฆฌ๋ฅผ ๋‚ ๋ฆฌ๊ฒŒ ๋œ๋‹ค๋ฉด NonUniqueResultException์ด ๋ฐœ์ƒํ•  ๊ฒƒ ๊ฐ™๋„ค์š”
ํ˜„์žฌ ๋‚ ์งœ๋ฅผ ๊ธฐ์ค€์œผ๋กœ Schedule ์—”ํ‹ฐํ‹ฐ๋ฅผ ์ฐพ์•„์™€์„œ Attendace๋ฅผ findํ•˜๋Š” ์ฟผ๋ฆฌ๋ฅผ ๋‚ ๋ฆด ๋–„ ์กฐ๊ฑด์œผ๋กœ ์ถ”๊ฐ€ํ•˜๋Š” ์‹์œผ๋กœ ํ•ด๊ฒฐํ•ด๋„ ์ข‹์„ ๊ฒƒ ๊ฐ™์•„์š”

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

47647bc

์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค

Comment on lines 5 to 7
data class AttendSelfCheckResponseDto(
val attendanceStatus: AttendanceStatus
)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๋“ค์—ฌ์“ฐ๊ธฐ๊ฐ€ ๋„ˆ๋ฌด ๋งŽ์ด ๋œ๊ฒƒ๊ฐ™์•„์š”!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

21e2e6a

์ˆ˜์ •ํ–ˆ์Šต๋‹ˆ๋‹ค

Comment on lines 16 to 21
class FindAttendSelfCheckServiceImpl (
private val userUtil: UserUtil,
private val attendanceRepository: AttendanceRepository,
private val clubRepository: ClubRepository,
private val attendanceConverter: AttendanceConverter
): FindAttendSelfCheckService {
Copy link
Contributor

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>
@ta2ye0n ta2ye0n self-assigned this Apr 26, 2024
@ta2ye0n ta2ye0n added the โœจ Feature ์‹ ๊ทœ ๊ธฐ๋Šฅ label Apr 26, 2024
Copy link
Contributor

@KimTaeO KimTaeO left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

๐Ÿ’ฏ

@ta2ye0n ta2ye0n merged commit 51d3637 into develop Apr 26, 2024
1 check passed
@ta2ye0n ta2ye0n deleted the 347-feature/self-check-attend branch April 26, 2024 13:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
โœจ Feature ์‹ ๊ทœ ๊ธฐ๋Šฅ
Projects
None yet
Development

Successfully merging this pull request may close these issues.

์ž์‹ ์˜ ์ถœ์„ ์ƒํƒœ ์กฐํšŒ
4 participants