[BO] 월초이월금

This commit is contained in:
김현주
2025-07-10 17:51:14 +09:00
parent 4ba5324c48
commit 28118e1e42
6 changed files with 44 additions and 2 deletions

View File

@@ -309,5 +309,15 @@
ORDER BY dr.start_date asc, df.created_at asc
</if>
</select>
<select id="getMonthlyCarryOver">
select ds.carry_over
from daily_summary ds
inner join daily_record dr on dr.household_seq = ds.household_seq and dr.record_month = ds.record_month
and dr.id = #{recordSeq}
order by
ds.id desc
limit 1
</select>
</mapper>