no message
This commit is contained in:
parent
e2d202d17c
commit
b1c365a4da
1 changed files with 4 additions and 0 deletions
|
|
@ -2170,6 +2170,8 @@ export class CommandController extends Controller {
|
||||||
refCommandNo: string | null;
|
refCommandNo: string | null;
|
||||||
templateDoc: string | null;
|
templateDoc: string | null;
|
||||||
commandId?: string | null;
|
commandId?: string | null;
|
||||||
|
leaveReason?: string | null;
|
||||||
|
dateLeave?: Date | null;
|
||||||
isLeave?: boolean;
|
isLeave?: boolean;
|
||||||
}[];
|
}[];
|
||||||
},
|
},
|
||||||
|
|
@ -2210,6 +2212,8 @@ export class CommandController extends Controller {
|
||||||
profile.position = _null;
|
profile.position = _null;
|
||||||
profile.posTypeId = _null;
|
profile.posTypeId = _null;
|
||||||
profile.posLevelId = _null;
|
profile.posLevelId = _null;
|
||||||
|
profile.leaveReason = item.leaveReason ?? _null;
|
||||||
|
profile.dateLeave = item.dateLeave ?? _null;
|
||||||
await this.profileRepository.save(profile, { data: req });
|
await this.profileRepository.save(profile, { data: req });
|
||||||
}
|
}
|
||||||
Object.assign(data, { ...item, ...meta });
|
Object.assign(data, { ...item, ...meta });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue