no message

This commit is contained in:
Kittapath 2024-08-07 18:05:24 +07:00
parent 372e6d8973
commit 3a32b07272
2 changed files with 8 additions and 1 deletions

View file

@ -2247,6 +2247,11 @@ export class EmployeePositionController extends Controller {
profile.posLevel = positionNew.posLevel;
profile.posType = positionNew.posType;
profile.position = positionNew.positionName;
profile.employeeOc = posMaster?.orgRoot?.orgRootName ?? null;
profile.positionEmployeePositionId = positionNew.positionName;
// profile.positionEmployeeLineId = "PERM";
// profile.positionEmployeeGroupId = "PERM";
await this.profileRepository.save(profile);
await this.employeePositionRepository.save(positionNew);
}