SCH · UC-SCH-06
UC-SCH-06 — Lich thi / TKB thi
Lich thi / TKB thi. This UC is contract-ready for implementation baseline; full 1:1 requires the blocker checks below.
Nguồn: docs/modules/sch/use-cases/UC-SCH-06.md · Sample data (fake VN)
S1 · Exam timetable generation
Exam timetable generation
termCode 2024-2025 HK1 2024-2025 HK2 2025-2026 HK1 dryRun
API: `POST /exam-timetable/generate` with `dryRun=true` · DB: `KTKBTHI`: `IDTKBTHI`, `IDToHop`, `NHHK`, `IDPH`, `NgayThi`, `TietBD`, `SoTiet`, `IDLoaiTG`, `IDDNTGTHI`, `Thu`, `TuanBD`, `NGAYTHIL2`, `TIETBDL2`, `SOTIETL2`,
S2 · Exam timetable read/edit
Exam timetable read/edit
keyword termCode 2024-2025 HK1 2024-2025 HK2 2025-2026 HK1
API: `GET /exam-timetable?termCode={NHHK}` then `PUT /exam-timetable/sessions/{sessionId}` · DB: `KTKBTS`: `IDTKBTS`, `IDTKB`, `NHHK`, `NgayHoc`, `TuanNgayHoc`, `Thu`, `TietBD`, `SoTiet`, `GioBD`, `SoPhut`, `IDPH`, `SiSoDDK`, `NgayGioXuat`, `NgayGioTra`, `G
S3 · Exam resources / special exams
Exam resources / special exams
keyword termCode 2024-2025 HK1 2024-2025 HK2 2025-2026 HK1
API: Covered by `GET /exam-timetable` and edit/generate payload · DB: `KTKBTSCT`: `IDTKBTSCT`, `IDTKBTS`, `NHHK`, `IDTS`, `SoLuongCan`, `SoLuongXuat`, `GCXuat`, `SoLuongTieuHaoHoc`, `GCTieuHaoHoc`; `KTKBTSCTTieuHao`: `IDTKBTSCTTie
S4 · True gaps
True gaps
keyword termCode 2024-2025 HK1 2024-2025 HK2 2025-2026 HK1
Mã Họ tên Lớp/Ngành Trạng thái Ghi chú SV22010001 Nguyễn Văn An CNTT-K18-01 Đang học QĐ/2025/810 SV22010015 Trần Thị Bình CNTT-K18-02 Tạm dừng QĐ/2025/811 SV22010028 Lê Minh Châu KT-K18-01 Đang học QĐ/2025/812 SV22010042 Phạm Quốc Dũng QTKD-K18-01 Nghỉ luôn QĐ/2025/813 SV22010057 Hoàng Thu Hà NN-K18-03 Đang học QĐ/2025/814 SV22010063 Vũ Đức Khoa CNTT-K18-01 Tốt nghiệp QĐ/2025/815
API: API response schema is generic and does not define session/resource arrays · DB: `KTKBTSDA` / `KTKBTHI` generation behavior is DLL-only, so conflict/resource allocation parity is not guaranteed