[FO] 일계부 최근등록일 일괄 수정

This commit is contained in:
김현주
2025-06-23 15:53:35 +09:00
parent 510ea5ec65
commit e3a5f73d77
14 changed files with 106 additions and 42 deletions

View File

@@ -114,4 +114,15 @@
]]>
</select>
<select id="getLatestDate"
resultType="app.module.front.usecase.daily.calendar.adapters.persistence.model.DailyRecordStatusDto">
select dr.id as daily_id
, dr.day_group_no, dr.start_date, dr.end_date
from daily_record dr
where dr.is_deleted = false
and dr.household_seq = #{householdSeq}
order by dr.record_month desc, dr.day_group_no desc
limit 1
</select>
</mapper>