From d6bb9be93d4565b759f4aa5770927f81a04dad55 Mon Sep 17 00:00:00 2001 From: harid Date: Tue, 10 Feb 2026 10:44:58 +0700 Subject: [PATCH] =?UTF-8?q?comment=20=E0=B8=AB=E0=B9=89=E0=B8=B2=E0=B8=A1?= =?UTF-8?q?=E0=B8=A5=E0=B8=9A=E0=B9=80=E0=B8=88=E0=B9=89=E0=B8=B2=E0=B8=AB?= =?UTF-8?q?=E0=B8=99=E0=B9=89=E0=B8=B2=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=A5?= =?UTF-8?q?=E0=B8=B3=E0=B8=94=E0=B8=B1=E0=B8=9A=E0=B8=97=E0=B8=B5=E0=B9=88?= =?UTF-8?q?=201=20#2220?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/CommandOperatorController.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/controllers/CommandOperatorController.ts b/src/controllers/CommandOperatorController.ts index f1cac92a..1a461ab3 100644 --- a/src/controllers/CommandOperatorController.ts +++ b/src/controllers/CommandOperatorController.ts @@ -187,13 +187,13 @@ export class CommandOperatorController extends Controller { throw new HttpError(HttpStatusCode.NOT_FOUND, "ไม่พบเจ้าหน้าที่ดำเนินการ"); } - // 2. ห้ามลบ orderNo = 1 - if (operator.orderNo === 1) { - throw new HttpError( - HttpStatusCode.BAD_REQUEST, - "ไม่สามารถลบเจ้าหน้าที่ลำดับที่ 1 ได้" - ); - } + // // 2. ห้ามลบ orderNo = 1 + // if (operator.orderNo === 1) { + // throw new HttpError( + // HttpStatusCode.BAD_REQUEST, + // "ไม่สามารถลบเจ้าหน้าที่ลำดับที่ 1 ได้" + // ); + // } const removedOrderNo = operator.orderNo;