[FO] 일계부 월별 임산물, 은행 자동이체 조건 추가

This commit is contained in:
김현주
2025-06-18 17:45:11 +09:00
parent ae3652c852
commit 2af09fe7bd
5 changed files with 89 additions and 21 deletions

View File

@@ -39,4 +39,15 @@
and dr.record_month = #{searchMonth}
</select>
<select id="getMonthlyStatus">
select mis.forest_product_status as forest_product, mis.bank_auto_transfer_input_status as bank_input, mis.bank_auto_transfer_output_status as bank_output
from monthly_input_status mis
where mis.is_deleted = false
and mis.household_seq = #{householdSeq}
and mis.month = #{searchMonth}
order by
mis.id desc
limit 1
</select>
</mapper>