Portal / SRM / UC-SRM-10
NHHK 2024–2025 HK1 Cán bộ demo
SRM · UC-SRM-10

UC-SRM-10 — Diem danh theo TKB (SRM side)

Diem danh theo TKB (SRM side). Added from focused SRM/SCH follow-up survey; contract-ready baseline, full 1:1 requires DLL method-body verification.

Nguồn: docs/modules/srm/use-cases/UC-SRM-10.md · Sample data (fake VN)
S1 · Attendance-by-timetable lookup

Attendance-by-timetable lookup

API: `GET /attendance/by-timetable?termCode={NHHK}` · DB: SCH schedule source `KTKB`: `IDTKB`, `NHHK`, `IDToHop`, `Thu`, `TietBD`, `SoTiet`, `IDPH`, `IsCongBo`, `IsKhongCongBo`; `KTKBCBGD`: `IDTKBCBGD`, `NHHK`, `IDToHo
S2 · Student attendance save

Student attendance save

API: `POST /attendance/by-timetable` with controlled dev data · DB: `SDiemDanh` and `SSVDiemDanh` are named in `database.md`, but columns are not present in SRM/SCH `schema.md`; smoke must at minimum confirm row count/change by
S3 · Cross-module schedule consistency

Cross-module schedule consistency

API: Compare `GET /attendance/by-timetable` response with SCH `GET /teaching-schedules?termCode={NHHK}` if SCH API is available · DB: SCH `KTKBChamCongGD`: `IDTKBChamCongGD`, `NHHK`, `IDTKB`, `IDToHoc`, `IDPhong`, `Thu`, `TietBD`, `NgayHoc`, `TrangThaiCC`, `IDNV`, `MaLop` can be used as relate
S4 · True gaps

True gaps

Họ tênLớp/NgànhTrạng tháiGhi chú
SV22010001Nguyễn Văn AnCNTT-K18-01Đang họcQĐ/2025/810
SV22010015Trần Thị BìnhCNTT-K18-02Tạm dừngQĐ/2025/811
SV22010028Lê Minh ChâuKT-K18-01Đang họcQĐ/2025/812
SV22010042Phạm Quốc DũngQTKD-K18-01Nghỉ luônQĐ/2025/813
SV22010057Hoàng Thu HàNN-K18-03Đang họcQĐ/2025/814
SV22010063Vũ Đức KhoaCNTT-K18-01Tốt nghiệpQĐ/2025/815
API: API exists but cannot be fully smoke-defined until attendance schema is dumped · DB: `GetDuLieuDiemDanhHocKyTheoNgay` and `SaveDiemDanhSV` behavior is DLL-only / not detailed in allowed docs