เพิ่ม/แก้ไขตำแหน่ง ปรับให้ส่ง null บางฟิลด์ได้
This commit is contained in:
parent
43a1dfe8d2
commit
9d205caa1f
2 changed files with 19 additions and 11 deletions
|
|
@ -40,7 +40,7 @@ export class PosDict extends EntityBase {
|
|||
comment: "ตำแหน่งทางการบริหาร",
|
||||
default: null,
|
||||
})
|
||||
posExecutiveId: string;
|
||||
posExecutiveId?: string|null;
|
||||
|
||||
@Column({
|
||||
nullable: true,
|
||||
|
|
@ -94,10 +94,10 @@ export class CreatePosDict {
|
|||
posExecutiveId?: string | null;
|
||||
|
||||
@Column()
|
||||
posDictExecutiveField: string | null;
|
||||
posDictExecutiveField?: string | null;
|
||||
|
||||
@Column()
|
||||
posDictArea: string | null;
|
||||
posDictArea?: string | null;
|
||||
|
||||
@Column()
|
||||
isSpecial: boolean;
|
||||
|
|
@ -146,13 +146,13 @@ export class UpdatePosDict {
|
|||
posLevelId: string;
|
||||
|
||||
@Column()
|
||||
posExecutiveId?: string | undefined;
|
||||
posExecutiveId?: string | null;
|
||||
|
||||
@Column()
|
||||
posDictExecutiveField: string;
|
||||
posDictExecutiveField?: string | null;
|
||||
|
||||
@Column()
|
||||
posDictArea: string;
|
||||
posDictArea?: string | null;
|
||||
|
||||
@Column()
|
||||
isSpecial: boolean;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue