From ba43e19aa5f2df67b9c4b392e25315610e770efd Mon Sep 17 00:00:00 2001 From: Bright Date: Wed, 13 Nov 2024 09:07:44 +0700 Subject: [PATCH] remove comment --- src/controllers/CommandController.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 288eadc8..914bef96 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -3521,20 +3521,10 @@ export class CommandController extends Controller { @Body() body: { refIds: string[]; - // refIds: { - // refId: string; - // commandAffectDate: Date | null; - // commandNo: string | null; - // commandYear: number; - // templateDoc: string | null; - // amount: Double | null; - // positionSalaryAmount: Double | null; - // mouthSalaryAmount: Double | null; - // }[]; }, ) { const posMasters = await this.posMasterRepository.find({ - where: { id: In(body.refIds/*.map((x) => x.refId)*/) }, + where: { id: In(body.refIds) }, }); const data = posMasters.map((_data) => ({ ..._data,