Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop

* 'develop' of github.com:Frappet/bma-ehr-organization:
  fix bug
  update path sql script
  #231 และ #2438 checkpoint
This commit is contained in:
Warunee Tamkoo 2026-04-24 11:38:57 +07:00
commit b8ef607078
3 changed files with 207 additions and 263 deletions

View file

@ -3861,10 +3861,10 @@ export class PositionController extends Controller {
_profile.position = _position.positionName;
_profile.posTypeId = _position.posTypeId;
_profile.posLevelId = _position.posLevelId;
_profile.positionField = _position.positionField ?? undefined;
_profile.posExecutive = _position.posExecutive?.posExecutiveName ?? undefined;
_profile.positionArea = _position.positionArea ?? undefined;
_profile.positionExecutiveField = _position.positionExecutiveField ?? undefined;
_profile.positionField = _position.positionField ?? _null;
_profile.posExecutive = _position.posExecutive?.posExecutiveName ?? _null;
_profile.positionArea = _position.positionArea ?? _null;
_profile.positionExecutiveField = _position.positionExecutiveField ?? _null;
}
await this.profileRepository.save(_profile);
setLogDataDiff(request, { before, after: _profile });