Skip to content

科目IDのみで教室検索#35

Merged
hikaru-0602 merged 5 commits intomainfrom
fix/makeup_classes_room
Apr 6, 2026
Merged

科目IDのみで教室検索#35
hikaru-0602 merged 5 commits intomainfrom
fix/makeup_classes_room

Conversation

@hikaru-0602
Copy link
Copy Markdown
Contributor

やったこと

補講の科目ID,曜日,時限で教室を検索していたのでヒットしなかった
科目IDのみで検索するように変更
複数ある場合(週2回ある授業とか)は最初にヒットした教室で対応.これはあまり良くないと思うけど一旦

  • Close #
    • [ ]

確認したこと

  • [ ]

メモ

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

補講(MakeupClass)の教室情報が「科目ID+曜日+時限」で検索されヒットしないケースがあったため、科目IDのみで通常時間割から教室を引くようにして補講カレンダーの教室表示を改善するPRです。

Changes:

  • 時間割から「科目ID → 教室」の対応マップを構築し、補講の教室決定に利用
  • 補講の教室はDBに無い前提を明確化するコメントを追加(通常時間割の教室で代替)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/service/personal_calendar_item.go Outdated
Comment thread internal/service/personal_calendar_item.go Outdated
Copilot AI review requested due to automatic review settings April 6, 2026 10:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/service/personal_calendar_item.go
Comment thread internal/service/personal_calendar_item.go Outdated
Copy link
Copy Markdown
Member

@kantacky kantacky left a comment

Choose a reason for hiding this comment

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

Admin の dev で動作確認しました
大丈夫そうです

@hikaru-0602 hikaru-0602 merged commit 8d6663f into main Apr 6, 2026
1 check passed
@hikaru-0602 hikaru-0602 deleted the fix/makeup_classes_room branch April 6, 2026 14:12
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.

4 participants