260324:1349 Refactor RFA #01
CI / CD Pipeline / build (push) Failing after 1m52s
CI / CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
admin
2026-03-24 13:49:30 +07:00
parent a3e3206b06
commit 4cd0952482
29 changed files with 1700 additions and 306 deletions
+3
View File
@@ -56,6 +56,9 @@ export interface SearchRfaDto {
/** กรองตามสถานะ (เช่น Draft, For Approve) */
statusId?: number;
/** กรองตามสถานะ code โดยตรง (เช่น 'DFT', 'FAP', 'FRE') */
statusCode?: string;
/** ค้นหาจาก เลขที่เอกสาร หรือ หัวข้อเรื่อง */
search?: string;
+11
View File
@@ -36,11 +36,17 @@ export interface RFA {
revisions: {
id: number;
revisionNumber: number;
revisionLabel?: string;
subject: string;
description?: string;
body?: string;
remarks?: string;
dueDate?: string;
isCurrent: boolean;
createdAt?: string;
statusCode?: { statusCode: string; statusName: string };
approveCode?: { approveCode: string; approveCodeName: string };
approvedDate?: string;
items?: RFAItem[];
}[];
discipline?: {
@@ -61,6 +67,11 @@ export interface RFA {
projectName: string;
projectCode: string;
};
discipline?: {
disciplineCode: string;
codeNameEn?: string;
codeNameTh?: string;
};
};
// Deprecated/Mapped fields