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

View file

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

View file

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