issues
search
Turing-mentos
/
Turing-BE
과외 수업의 부담감은 내리고 효율성은 올리는 과외 알리미
0
stars
1
forks
source link
[Feat] 스케줄 CRUD 구현
#40
Closed
beomzun
closed
2 months ago
beomzun
commented
2 months ago
📄 Description
close : #27
📌 구현 내용
시험 일정 CRUD
스케줄 한달 조회
기준회차 템플릿 조회
기준회차 생성(스케줄 추가)
스케줄 일정 수정
스케줄 변경 요청 조회
스케줄 변경 요청 날짜 생성 -학생
✅ PR 포인트
스케줄, 대체스케줄 엔티티에서 요일 필드 삭제했습니다
AlternativeService getAllAlterSchedules 메서드에서 패치 조인을 사용하여 많은 데이터를 조회하는 것과 쿼리를 추가로 발생하여 적은 데이터를 조회하는 것 중 테스트를 통해 효율적인 방법을 선택해야 합니다
현재 StudyRoom과 연관된 ConnectionCode에 Lazy가 적용되지 않아 추가적인 쿼리가 발생하고 있습니다
ScheduleService의 createSchedules 메서드와 AlternativeService의 createAlterSchedule 메서드에서 saveAll을 통해 db에 insert를 수행하고 있습니다. 이를 bulkInsert를 통해 개선할 예정입니다
📄 Description
📌 구현 내용
✅ PR 포인트