fix
This commit is contained in:
parent
74c8abf010
commit
e59bb66a50
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue