260318:1135 Fix UUID #3
Build and Deploy / deploy (push) Successful in 8m43s

This commit is contained in:
admin
2026-03-18 11:35:51 +07:00
parent 6172b058df
commit 5d89079c2a
43 changed files with 1073 additions and 132 deletions
+3 -3
View File
@@ -89,10 +89,10 @@ export interface CirculationListResponse {
* DTO for creating a circulation
*/
export interface CreateCirculationDto {
correspondenceId: number;
projectId?: number;
correspondenceId: number | string;
projectId?: number | string;
subject: string;
assigneeIds: number[];
assigneeIds: (number | string)[];
remarks?: string;
}
@@ -1,15 +1,15 @@
// File: src/types/dto/circulation/create-circulation.dto.ts
export interface CreateCirculationDto {
/** เอกสารต้นเรื่องที่จะเวียน (Correspondence ID) */
correspondenceId: number;
/** เอกสารต้นเรื่องที่จะเวียน (Correspondence ID or UUID) */
correspondenceId: number | string;
/** หัวข้อเรื่อง (Subject) */
subject: string;
subject: string;
/** รายชื่อ User ID ที่ต้องการส่งให้ (ผู้รับผิดชอบ) */
assigneeIds: number[];
/** รายชื่อ User ID/UUID ที่ต้องการส่งให้ (ผู้รับผิดชอบ) */
assigneeIds: (number | string)[];
/** หมายเหตุเพิ่มเติม (ถ้ามี) */
remarks?: string;
}
remarks?: string;
}
@@ -1,8 +1,8 @@
// File: src/types/dto/correspondence/create-correspondence.dto.ts
export interface CreateCorrespondenceDto {
/** ID ของโครงการ */
projectId: number;
/** ID or UUID ของโครงการ */
projectId: number | string;
/** ID ของประเภทเอกสาร (เช่น RFA, LETTER) */
typeId: number;
@@ -37,8 +37,8 @@ export interface CreateCorrespondenceDto {
/** * ✅ Field สำหรับ Impersonation (เลือกองค์กรผู้ส่ง)
* ใช้กรณี Admin สร้างเอกสารแทนผู้อื่น
*/
originatorId?: number;
originatorId?: number | string;
/** รายชื่อผู้รับ */
recipients?: { organizationId: number; type: 'TO' | 'CC' }[];
recipients?: { organizationId: number | string; type: 'TO' | 'CC' }[];
}