Skip to content

feat/room-student-count - #125

Open
itzjb wants to merge 3 commits into
mainfrom
feat/room-student-count
Open

feat/room-student-count#125
itzjb wants to merge 3 commits into
mainfrom
feat/room-student-count

Conversation

@itzjb

@itzjb itzjb commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

#️⃣연관된 이슈

없음

📝작업 내용

  • 실 조회(GET /rooms, GET /rooms/{roomId}) 응답에 currentStudentCount(현재 반 안에 있는 학생 수) 필드 추가
  • 계산 방식: 실에 스케줄된 학생 수 - (현재 체크포인트 출석 타입이 "교실자습"이 아닌 학생 수), 미출석(출석 기록 없음)은 실에 있는 것으로 간주
  • RoomServiceTest에 관련 테스트 추가, 기존에 깨져 있던 getRooms 스텁도 함께 수정

💬리뷰 요구사항(선택)

실이동으로 이 실에 들어온 학생은 카운트에 가산하지 않습니다(원 스케줄 기준 차감만). 필요 시 후속 작업으로 논의해주세요.

itzjb added 3 commits August 6, 2026 22:40
# Conflicts:
#	src/main/kotlin/com/b/beep/domain/attendance/domain/entity/AttendanceTypeEntity.kt
#	src/main/kotlin/com/b/beep/domain/room/controller/dto/response/RoomResponse.kt
#	src/main/kotlin/com/b/beep/domain/room/service/RoomService.kt
#	src/test/kotlin/com/b/beep/domain/room/service/RoomServiceTest.kt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants