[BO] 은행자동이체내역 삭제 오류 수정

This commit is contained in:
kangsunlee
2025-07-11 09:32:14 +09:00
parent 60e3f7f5ea
commit 0c2c472606
3 changed files with 9 additions and 3 deletions

View File

@@ -20,6 +20,12 @@
FROM bank_auto_transfer
WHERE is_deleted = false
AND monthly_input_status_id = #{monthlyInputStatusId}
<if test="removeType == 'INCOME'">
AND transfer_type = 'code.bank.input'
</if>
<if test="removeType == 'EXPENSE'">
AND transfer_type = 'code.bank.output'
</if>
)
</select>
</mapper>