[BO] 은행자동이체내역 삭제 오류 수정
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user