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

# Conflicts:
#	src/controllers/PositionController.ts
This commit is contained in:
Kittapath 2024-03-04 15:36:39 +07:00
commit 391c98682f
9 changed files with 12 additions and 13 deletions

View file

@ -89,7 +89,7 @@ export class PositionController extends Controller {
where: { id: posDict.posTypeId },
});
if (!checkPosTypeId) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูล PosTypeId");
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลประเภทตำแหน่ง");
}
const checkPosLevelId = await this.posLevelRepository.findOne({