fix command
This commit is contained in:
parent
cf64091612
commit
8c72f7df87
1 changed files with 5 additions and 6 deletions
|
|
@ -4848,7 +4848,6 @@ export class CommandController extends Controller {
|
||||||
}
|
}
|
||||||
profile.keycloak = checkUser[0].id;
|
profile.keycloak = checkUser[0].id;
|
||||||
}
|
}
|
||||||
|
|
||||||
positionNew.positionIsSelected = true;
|
positionNew.positionIsSelected = true;
|
||||||
profile.posLevelId = positionNew.posLevelId;
|
profile.posLevelId = positionNew.posLevelId;
|
||||||
profile.posTypeId = positionNew.posTypeId;
|
profile.posTypeId = positionNew.posTypeId;
|
||||||
|
|
@ -4872,11 +4871,11 @@ export class CommandController extends Controller {
|
||||||
root: posMaster.orgRoot.orgRootName,
|
root: posMaster.orgRoot.orgRootName,
|
||||||
rootId: posMaster.orgRootId,
|
rootId: posMaster.orgRootId,
|
||||||
rootShortName: posMaster.orgRoot.orgRootShortName,
|
rootShortName: posMaster.orgRoot.orgRootShortName,
|
||||||
rootDnaId: posMaster.orgRoot.ancestorDNA,
|
rootDnaId: posMaster.orgRoot.ancestorDNA??_null,
|
||||||
child1DnaId: posMaster.orgChild1.ancestorDNA,
|
child1DnaId: posMaster.orgChild1.ancestorDNA??_null,
|
||||||
child2DnaId: posMaster.orgChild2.ancestorDNA,
|
child2DnaId: posMaster.orgChild2.ancestorDNA??_null,
|
||||||
child3DnaId: posMaster.orgChild3.ancestorDNA,
|
child3DnaId: posMaster.orgChild3.ancestorDNA??_null,
|
||||||
child4DnaId: posMaster.orgChild4.ancestorDNA,
|
child4DnaId: posMaster.orgChild4.ancestorDNA??_null,
|
||||||
});
|
});
|
||||||
await this.profileEmployeeRepository.save(profile);
|
await this.profileEmployeeRepository.save(profile);
|
||||||
await this.employeePositionRepository.save(positionNew);
|
await this.employeePositionRepository.save(positionNew);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue