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

UC-SRM-07 — Nhap/cong diem hoc phan

Nhap/cong diem hoc phan. This UC is contract-ready for implementation baseline; full 1:1 requires the blocker checks below.

Nguồn: docs/modules/srm/use-cases/UC-SRM-07.md · Sample data (fake VN)
S1 · Grade import

Grade import

API: `POST /grades/import` with `dryRun=true`; verify validation errors and import summary · DB: `DDiemTP`: `IDDiemTP`, `IDKQDK`, `KyHieuTP`, `KyHieuTPP`, `DiemTP`, `IsCongBo`, `IDFileScan`, `NHHKSet`, `NgayNhap`, `DiemTPCu`, `NgayEdit`, `UserEdit`; `DDiemT
S2 · Grade calculation

Grade calculation

API: `POST /grades/calculate` then `GET /grades/{resultId}?termCode={NHHK}` · DB: `DDTBHP`: `IDCongDiem`, `IDSourceDiem`, `IDMH`, `IDSV`, `NHHK`, `KyThi`, `HeDiemCong`, `LanCong`, `DiemKT`, `DiemThi`, `DiemHP`, `DiemHPIn`, `DiemHPCalc`, `Diem
S3 · Audit logs and permissions

Audit logs and permissions

API: `GET /grades/{resultId}` should expose or link audit state if implemented · DB: `DNKNhapDiem`: `IDNKNhapDiem`, `HinhThucNhap`, `NHHK`, `NgayNhapDiem`, `UserNhapDiem`, `GCNKNhapDiem`; `DNKNhapDiemCT`: `IDNKNhapDiemCT`, `IDNKNhapDiem`, `IDNgu
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 has generic command request, not final spreadsheet/import schema · DB: `IXLNhapDiem`, `IXLCongDiem`, and `CongDiemTB*DA` calculation formulas are DLL-only and must be verified before claiming 1:1 grade parity