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

This commit is contained in:
Kittapath 2024-05-02 09:29:49 +07:00
commit 9d05e065b3
2 changed files with 2 additions and 2 deletions

View file

@ -288,7 +288,7 @@ export class PositionController extends Controller {
requestBody.posExecutiveId = _null;
}
if (requestBody.posExecutiveId != null) {
if (requestBody.posExecutiveId != null && requestBody.posExecutiveId != "" ) {
const checkPosExecutiveId = await this.posExecutiveRepository.findOne({
where: { id: requestBody.posExecutiveId },
});

View file

@ -146,7 +146,7 @@ export class UpdatePosDict {
posLevelId: string;
@Column()
posExecutiveId?: string;
posExecutiveId?: string | undefined;
@Column()
posDictExecutiveField: string;