fix commandNo : type (String)

This commit is contained in:
AdisakKanthawilang 2025-02-24 17:17:21 +07:00
parent 275d90c519
commit e28f65f5f4
2 changed files with 6 additions and 6 deletions

View file

@ -36,7 +36,7 @@ export class ProfileSalary extends EntityBase {
comment: "เลขที่คำสั่ง", comment: "เลขที่คำสั่ง",
default: null, default: null,
}) })
commandNo: number; commandNo: string;
@Column({ @Column({
nullable: true, nullable: true,
@ -266,7 +266,7 @@ export class CreateProfileSalary {
positionCee?: string | null; positionCee?: string | null;
commandCode?: string | null; commandCode?: string | null;
commandName?: string | null; commandName?: string | null;
commandNo?: number | null; commandNo?: string | null;
commandYear?: number | null; commandYear?: number | null;
} }
@ -293,7 +293,7 @@ export class CreateProfileSalaryEmployee {
positionCee?: string | null; positionCee?: string | null;
commandCode?: string | null; commandCode?: string | null;
commandName?: string | null; commandName?: string | null;
commandNo?: number | null; commandNo?: string | null;
commandYear?: number | null; commandYear?: number | null;
} }
@ -318,7 +318,7 @@ export class UpdateProfileSalaryEmployee {
positionCee?: string | null; positionCee?: string | null;
commandCode?: string | null; commandCode?: string | null;
commandName?: string | null; commandName?: string | null;
commandNo?: number | null; commandNo?: string | null;
commandYear?: number | null; commandYear?: number | null;
} }
@ -344,6 +344,6 @@ export type UpdateProfileSalary = {
positionCee?: string | null; positionCee?: string | null;
commandCode?: string | null; commandCode?: string | null;
commandName?: string | null; commandName?: string | null;
commandNo?: number | null; commandNo?: string | null;
commandYear?: number | null; commandYear?: number | null;
}; };

View file

@ -17,7 +17,7 @@ export class ProfileSalaryHistory extends EntityBase {
comment: "เลขที่คำสั่ง", comment: "เลขที่คำสั่ง",
default: null, default: null,
}) })
commandNo: number; commandNo: string;
@Column({ @Column({
nullable: true, nullable: true,