แก้ข้อความ error
This commit is contained in:
parent
6fad0f10a3
commit
4ee6991bbe
1 changed files with 2 additions and 2 deletions
|
|
@ -63,7 +63,7 @@ export class SalaryFormulaEmployeeController extends Controller {
|
||||||
id: requestBody.posLevelId,
|
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({
|
const chkPosType = await this.employeePosTypeRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
|
|
@ -134,7 +134,7 @@ export class SalaryFormulaEmployeeController extends Controller {
|
||||||
id: requestBody.posLevelId,
|
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({
|
const chkPosType = await this.employeePosTypeRepository.findOne({
|
||||||
where: {
|
where: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue