เปลี่ยนปีคศเป็นพศคำสั่งช่วยราชการ (:4845)

This commit is contained in:
Adisak 2026-05-05 12:02:40 +07:00
parent fd7a2af0a1
commit 8ad480baae

View file

@ -4842,7 +4842,7 @@ export class CommandController extends Controller {
agency: item.officerOrg, agency: item.officerOrg,
dateStart: item.dateStart, dateStart: item.dateStart,
dateEnd: item.dateEnd, dateEnd: item.dateEnd,
commandNo: `${item.commandNo}/${item.commandYear}`, commandNo: `${item.commandNo}/${_commandYear}`,
commandName: item.commandName, commandName: item.commandName,
refId: item.refId, refId: item.refId,
refCommandDate: new Date(), refCommandDate: new Date(),
@ -6927,7 +6927,8 @@ export class CommandController extends Controller {
} }
}, },
relations: { orgRevision: true, orgRoot: true, orgChild1: true, orgChild2: true, orgChild3: true, orgChild4: true } relations: { orgRevision: true, orgRoot: true, orgChild1: true, orgChild2: true, orgChild3: true, orgChild4: true }
}); } });
}
if (posMaster == null) if (posMaster == null)
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตำแหน่งนี้"); throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลตำแหน่งนี้");