Merge branch 'develop' of github.com:Frappet/bma-ehr-organization into develop
This commit is contained in:
commit
9d05e065b3
2 changed files with 2 additions and 2 deletions
|
|
@ -288,7 +288,7 @@ export class PositionController extends Controller {
|
||||||
requestBody.posExecutiveId = _null;
|
requestBody.posExecutiveId = _null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (requestBody.posExecutiveId != null) {
|
if (requestBody.posExecutiveId != null && requestBody.posExecutiveId != "" ) {
|
||||||
const checkPosExecutiveId = await this.posExecutiveRepository.findOne({
|
const checkPosExecutiveId = await this.posExecutiveRepository.findOne({
|
||||||
where: { id: requestBody.posExecutiveId },
|
where: { id: requestBody.posExecutiveId },
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ export class UpdatePosDict {
|
||||||
posLevelId: string;
|
posLevelId: string;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
posExecutiveId?: string;
|
posExecutiveId?: string | undefined;
|
||||||
|
|
||||||
@Column()
|
@Column()
|
||||||
posDictExecutiveField: string;
|
posDictExecutiveField: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue