From 4dbc688f79909ec912d7d780062b6cb894b118d9 Mon Sep 17 00:00:00 2001 From: GA Pro Date: Fri, 29 May 2026 21:44:34 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20AgentDeductionMapper.updateStatusBatch?= =?UTF-8?q?=20XML=20=EA=B5=AC=EB=AC=B8=20=EB=88=84=EB=9D=BD=20=EB=B3=B4?= =?UTF-8?q?=EA=B0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AggregateStep(Step8) 이 차감 APPLIED 일괄 전이로 호출하는 updateStatusBatch 가 인터페이스에만 선언되고 XML 구문이 없어, PENDING 차감이 있는 정산월 집계 시 'Invalid bound statement (not found)' 로 aggregate 전체가 FAILED 되던 잠복 버그. updateStatus 동일 패턴 + foreach IN 으로 구현. (계약승계 e2e 중 발견, 승계와 무관) Co-Authored-By: Claude Opus 4.8 (1M context) --- .../resources/mapper/settle/AgentDeductionMapper.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ga-core/src/main/resources/mapper/settle/AgentDeductionMapper.xml b/ga-core/src/main/resources/mapper/settle/AgentDeductionMapper.xml index 02b1c7d..65c1a3f 100644 --- a/ga-core/src/main/resources/mapper/settle/AgentDeductionMapper.xml +++ b/ga-core/src/main/resources/mapper/settle/AgentDeductionMapper.xml @@ -150,4 +150,13 @@ WHERE deduction_id = #{deductionId} + + UPDATE agent_deduction + SET status = #{status}, updated_at = NOW() + WHERE deduction_id IN + + #{id} + + +