[BO] 임가현황, 조사원현황 엑셀 다운로드 작업

This commit is contained in:
kangsunlee
2025-07-04 10:12:33 +09:00
parent f53cab803b
commit 9a57f63d45
5 changed files with 64 additions and 8 deletions

View File

@@ -144,7 +144,8 @@
rhv.content,
rhv.management_type,
case rhv.is_gift_sent when true then '전달완료' when false then '-' end is_gift_sent_flag,
rhv.created_at
TO_CHAR(rhv.updated_at, 'YYYY-MM-DD HH24:MI') AS updated_at,
rhv.updated_by
from household_visit rhv
join household h on rhv.household_seq = h.seq
join researcher_has_household rhh on rhh.household_seq = h.seq and rhh.is_deleted = false