This commit is contained in:
AdisakKanthawilang 2025-02-10 12:12:15 +07:00
parent 8c72f7df87
commit 08a17bb24d

View file

@ -4871,11 +4871,11 @@ export class CommandController extends Controller {
root: posMaster.orgRoot.orgRootName,
rootId: posMaster.orgRootId,
rootShortName: posMaster.orgRoot.orgRootShortName,
rootDnaId: posMaster.orgRoot.ancestorDNA??_null,
child1DnaId: posMaster.orgChild1.ancestorDNA??_null,
child2DnaId: posMaster.orgChild2.ancestorDNA??_null,
child3DnaId: posMaster.orgChild3.ancestorDNA??_null,
child4DnaId: posMaster.orgChild4.ancestorDNA??_null,
rootDnaId: posMaster.orgRoot?.ancestorDNA??_null,
child1DnaId: posMaster.orgChild1?.ancestorDNA??_null,
child2DnaId: posMaster.orgChild2?.ancestorDNA??_null,
child3DnaId: posMaster.orgChild3?.ancestorDNA??_null,
child4DnaId: posMaster.orgChild4?.ancestorDNA??_null,
});
await this.profileEmployeeRepository.save(profile);
await this.employeePositionRepository.save(positionNew);