แก้ข้อความ error

This commit is contained in:
Bright 2024-03-22 15:48:19 +07:00
parent 6fad0f10a3
commit 4ee6991bbe

View file

@ -63,7 +63,7 @@ export class SalaryFormulaEmployeeController extends Controller {
id: requestBody.posLevelId,
},
});
if (!chkPosLevel) throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลระดับตำแหน่งนี้");
if (!chkPosLevel) throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลระดับชั้นงานนี้");
const chkPosType = await this.employeePosTypeRepository.findOne({
where: {
@ -134,7 +134,7 @@ export class SalaryFormulaEmployeeController extends Controller {
id: requestBody.posLevelId,
},
});
if (!chkPosLevel) throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลระดับตำแหน่งนี้");
if (!chkPosLevel) throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลระดับชั้นงานนี้");
const chkPosType = await this.employeePosTypeRepository.findOne({
where: {