fix: ช่วยรายการและรักษาการ endDate null
All checks were successful
Build & Deploy on Dev / build (push) Successful in 51s

This commit is contained in:
Warunee Tamkoo 2026-02-06 22:11:07 +07:00
parent e750b39639
commit 922a0ab1c2
3 changed files with 4 additions and 4 deletions

View file

@ -1430,7 +1430,7 @@ export class ProfileSalaryTempController extends Controller {
profileId: x.profileId,
profileEmployeeId: x.profileEmployeeId,
dateStart: x.commandDateAffect,
dateEnd: x.commandDateAffect,
dateEnd: null,
posNo: x.posNo,
position: x.positionName,
commandId: x.commandId,
@ -1452,7 +1452,7 @@ export class ProfileSalaryTempController extends Controller {
profileEmployeeId: x.profileEmployeeId,
agency: x.orgRoot,
dateStart: x.commandDateAffect,
dateEnd: x.commandDateAffect,
dateEnd: null,
commandId: x.commandId,
commandNo: x.commandNo,
commandName: x.commandName,

View file

@ -29,7 +29,7 @@ export class ProfileActposition extends EntityBase {
comment: "วันที่สิ้นสุด",
default: null,
})
dateEnd: Date;
dateEnd: Date | null;
@Column({
nullable: true,

View file

@ -43,7 +43,7 @@ export class ProfileAssistance extends EntityBase {
comment: "วันสิ้นสุดการช่วยราชการ",
default: null,
})
dateEnd: Date;
dateEnd: Date | null;
@Column({
nullable: true,