This commit is contained in:
AdisakKanthawilang 2024-03-14 17:41:22 +07:00
parent 74c8abf010
commit e59bb66a50

View file

@ -108,7 +108,7 @@ export class EmployeePosLevelController extends Controller {
throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบข้อมูลกลุ่มงานลูกจ้างประจำนี้");
}
const chkEmpPosLevel = await this.employeePosLevelRepository.findOne({
const chkEmpPosLevel = await this.employeePosLevelRepository.find({
where: {
id: Not(id),
posLevelName: requestBody.posLevelName,