fix: AgentDeductionMapper.updateStatusBatch XML 구문 누락 보강
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) <noreply@anthropic.com>
This commit is contained in:
@@ -150,4 +150,13 @@
|
||||
WHERE deduction_id = #{deductionId}
|
||||
</update>
|
||||
|
||||
<update id="updateStatusBatch">
|
||||
UPDATE agent_deduction
|
||||
SET status = #{status}, updated_at = NOW()
|
||||
WHERE deduction_id IN
|
||||
<foreach item="id" collection="deductionIds" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</update>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user