no message

This commit is contained in:
Bright 2024-03-13 11:36:17 +07:00
parent a0486a10b9
commit 70481502f3
3 changed files with 21 additions and 21 deletions

View file

@ -57,7 +57,7 @@ export class EmployeePosLevelController extends Controller {
where: { id: requestBody.employeePosTypeId }
});
if (!EmpPosType) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลประเภทกลุ่มงานลูกจ้างประจำนี้");
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลกลุ่มงานลูกจ้างประจำนี้");
}
const chkEmpPosLevelName = await this.employeePosLevelRepository.findOne({
@ -102,7 +102,7 @@ export class EmployeePosLevelController extends Controller {
where: { id: requestBody.employeePosTypeId }
});
if (!EmpPosType) {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลประเภทกลุ่มงานลูกจ้างประจำนี้");
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลกลุ่มงานลูกจ้างประจำนี้");
}
const chkEmpPosLevel = await this.employeePosLevelRepository.findOne({