From 6bd0e158776b43d66deca68d1df60451d856a934 Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 5 Feb 2025 09:26:12 +0700 Subject: [PATCH] add field rootDnaId --- src/controllers/CommandController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 56a93020..4f765f16 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -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);