แก้ปรับตำแหน่ง
This commit is contained in:
parent
be7f719fd5
commit
00cd06a997
2 changed files with 4 additions and 4 deletions
|
|
@ -2245,8 +2245,8 @@ export class EmployeePositionController extends Controller {
|
|||
});
|
||||
if (positionNew != null) {
|
||||
positionNew.positionIsSelected = true;
|
||||
profile.posLevel = positionNew.posLevel;
|
||||
profile.posType = positionNew.posType;
|
||||
profile.posLevelId = positionNew.posLevelId;
|
||||
profile.posTypeId = positionNew.posTypeId;
|
||||
profile.position = positionNew.positionName;
|
||||
profile.employeeOc = posMaster?.orgRoot?.orgRootName ?? null;
|
||||
profile.positionEmployeePositionId = positionNew.positionName;
|
||||
|
|
|
|||
|
|
@ -3417,8 +3417,8 @@ export class PositionController extends Controller {
|
|||
});
|
||||
if (positionNew != null) {
|
||||
positionNew.positionIsSelected = true;
|
||||
profile.posLevel = positionNew.posLevel;
|
||||
profile.posType = positionNew.posType;
|
||||
profile.posLevelId = positionNew.posLevelId;
|
||||
profile.posTypeId = positionNew.posTypeId;
|
||||
profile.position = positionNew.positionName;
|
||||
await this.profileRepository.save(profile);
|
||||
await this.positionRepository.save(positionNew);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue