From d0238d26c61ff6e485e81202488e5b3233d55534 Mon Sep 17 00:00:00 2001 From: SeongHyun Kim Date: Mon, 6 Apr 2026 15:50:48 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EB=A6=AC=EC=9B=8C=ED=81=AC=20=EB=A7=88?= =?UTF-8?q?=EC=8A=A4=ED=84=B0=20=EC=A0=84=EB=9F=89=EC=A0=91=EC=88=98=20?= =?UTF-8?q?=EC=8B=9C=20completed=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20(in=5Fpro?= =?UTF-8?q?gress=20=E2=86=92=20completed)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend-node/src/controllers/popProductionController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend-node/src/controllers/popProductionController.ts b/backend-node/src/controllers/popProductionController.ts index 266ae706..658a4e0d 100644 --- a/backend-node/src/controllers/popProductionController.ts +++ b/backend-node/src/controllers/popProductionController.ts @@ -1880,10 +1880,10 @@ export const acceptProcess = async (req: AuthenticatedRequest, res: Response) => ); } else { newTotalInput = currentTotalInput; // 리워크는 기존 합계 유지 - // 리워크 카드: 전량 접수 시 status를 in_progress로 변경 (추가 접수 방지) + // 리워크 카드: 전량 접수 시 status를 completed로 변경 (추가 접수 방지 + 탭에서 숨김) if (qty >= reworkInputQty) { await client.query( - `UPDATE work_order_process SET status = 'in_progress', updated_date = NOW() + `UPDATE work_order_process SET status = 'completed', updated_date = NOW() WHERE id = $1 AND company_code = $2`, [work_order_process_id, companyCode] );