no message

This commit is contained in:
Bright 2024-11-07 14:03:40 +07:00
parent e2d202d17c
commit b1c365a4da

View file

@ -2170,6 +2170,8 @@ export class CommandController extends Controller {
refCommandNo: string | null;
templateDoc: string | null;
commandId?: string | null;
leaveReason?: string | null;
dateLeave?: Date | null;
isLeave?: boolean;
}[];
},
@ -2210,6 +2212,8 @@ export class CommandController extends Controller {
profile.position = _null;
profile.posTypeId = _null;
profile.posLevelId = _null;
profile.leaveReason = item.leaveReason ?? _null;
profile.dateLeave = item.dateLeave ?? _null;
await this.profileRepository.save(profile, { data: req });
}
Object.assign(data, { ...item, ...meta });