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

UC-SMS-10 — Khen thuong / ky luat

Khen thuong / ky luat based on legacy SMS source. This UC assumes `SDMSV`/`SSVHK` hub data already exists and does not require QLTS runtime.

Nguồn: docs/modules/sms/use-cases/UC-SMS-10.md · Sample data (fake VN)
S1 · Legacy `S50`; remake commendation/discipline list

Legacy S50; remake commendation/discipline list

Load decisions and student rows by term/type.

termCodeNHHKkeywordIDKKSVLoaiKKSVSoQDKK
SV22010001Nguyễn Văn AnCNTT-K18-01Đang họcQĐ/2025/810QĐ/2025/0800
SV22010015Trần Thị BìnhCNTT-K18-02Tạm dừngQĐ/2025/811QĐ/2025/0801
SV22010028Lê Minh ChâuKT-K18-01Đang họcQĐ/2025/812QĐ/2025/0802
SV22010042Phạm Quốc DũngQTKD-K18-01Nghỉ luônQĐ/2025/813QĐ/2025/0803
SV22010057Hoàng Thu HàNN-K18-03Đang họcQĐ/2025/814QĐ/2025/0804
SV22010063Vũ Đức KhoaCNTT-K18-01Tốt nghiệpQĐ/2025/815QĐ/2025/0805
API: `GET /commendations`. · DB: `SDMKK.IDKKSV`, `MaKKSV`, `TenKKSV`, `LoaiKKSV`, `DiemCongRenLuyen`, `IsKgXetHBKKSV`, `IsKgXetKT`; `SDSQDKK.IDQDKK`, `NHHK`, `TenQDKK`, `IDKKSV`, `SoQDKK`, `Nga
S2 · Legacy `XetKhenThuong` / `SaveQuyetDinh`; remake commendation decision action

Legacy XetKhenThuong / SaveQuyetDinh; remake commendation decision action

Create commendation decision and attach eligible students/classes.

API: `POST /commendations/decisions`. · DB: `SDSQDKK.NHHK`, `TenQDKK`, `IDKKSV`, `SoQDKK`, `NgayKyKK`, `NgayHLKK`, `NguoiKyKK`, `GcQDKK`; `SDSSVKK.IDSV`, `NHHK`, `IDQDKK`, `GcSVKK`; `SDSLOPKK.IDLop`, `IDQ
S3 · Legacy discipline decision; remake discipline decision action

Legacy discipline decision; remake discipline decision action

Create discipline decision and persist violation details.

API: `POST /discipline/decisions`. · DB: `SDSQDKK` header fields; `SDSSVKK.IDSV`, `NHHK`, `IDQDKK`, `NoiDungVP`, `GcSVKK`; `SDMKK.LoaiKKSV` must identify commendation vs discipline.
S4 · Legacy `DeleteQDKK`; remake delete action

Legacy DeleteQDKK; remake delete action

Delete/reverse a decision with conflict handling.

API: `DELETE /commendations/decisions/{decisionId}`. · DB: Target `SDSQDKK.IDQDKK`; dependent `SDSSVKK.IDQDKK`, `SDSLOPKK.IDQDKK`; optional `SGIAITHSV.IDSV`, `NHHK`, `TenGiaiTH` when award records are tied to the decisi
S5 · GAP - decision document/export template

GAP - decision document/export template

Current docs expose DB fields but not the full Word/report template fields for KTKL export.

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: `POST /commendations/decisions`, `POST /discipline/decisions`. · DB: `SDSQDKK.NoiDung` and report/export fields need template mapping before full print smoke.