ประวัติการแก้โครงสร่าง

This commit is contained in:
Kittapath 2024-01-31 13:24:02 +07:00
parent 9166faf102
commit 14eb068a18
3 changed files with 144 additions and 9 deletions

View file

@ -494,6 +494,11 @@ export class PositionController extends Controller {
if (!posMaster) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลอัตรากำลัง");
}
posMaster.orgRootId = "";
posMaster.orgChild1Id = "";
posMaster.orgChild2Id = "";
posMaster.orgChild3Id = "";
posMaster.orgChild4Id = "";
const orgRoot = await this.orgRootRepository.findOne({
where: { id: requestBody.orgRootId },