Merge branch 'dev' into susu

This commit is contained in:
주수현
2025-07-17 15:56:18 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -69,7 +69,7 @@
and h.usage_type = #{usageType}
</if>
LEFT JOIN household_visit hv
ON hv.household_seq = h.seq AND hv.is_deleted = false
ON hv.household_seq = h.seq AND hv.is_deleted = false AND to_char(hv.visit_date,'YYYYMM') = #{recordMonth}
LEFT JOIN v_monthly_completion_rate v
ON v.household_seq = h.seq AND v.record_month = #{recordMonth}
WHERE u.parent_id = 'code.region.main' and u.in_use = true

View File

@@ -303,7 +303,7 @@
updated_at,
updated_by
)values(
nextval('household_has_role_seq'),
nextval('researcher_has_household_seq'),
#{researcherSeq},
#{householdSeq},
NOW(),