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,