Merge branch 'develop' of github.com:Frappet/hrms-api-org into develop

This commit is contained in:
kittapath 2025-02-10 16:16:32 +07:00
commit 8ab3cb26b5

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);