add field rootDnaId

This commit is contained in:
Bright 2025-02-05 09:26:12 +07:00
parent e785ece48d
commit 6bd0e15877

View file

@ -4863,7 +4863,8 @@ export class CommandController extends Controller {
citizenId: profile.citizenId,
root: posMaster.orgRoot.orgRootName,
rootId: posMaster.orgRootId,
rootShortName: posMaster.orgRoot.orgRootShortName
rootShortName: posMaster.orgRoot.orgRootShortName,
rootDnaId: posMaster.orgRoot.ancestorDNA,
});
await this.profileEmployeeRepository.save(profile);
await this.employeePositionRepository.save(positionNew);