[BO] 월초이월금
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user