v_household_visit 뷰 삭제

This commit is contained in:
주수현
2025-07-30 10:51:00 +09:00
parent c9e5492e8d
commit 31bae1f645

View File

@@ -337,7 +337,6 @@
h.is_panel AS isPanel,
r.researcher_name AS researcherName
FROM v_household_with_code h
LEFT JOIN v_household_visit v ON h.seq = v.household_seq
LEFT JOIN v_household_researcher r ON h.seq = r.household_seq
) AS hvr
<where>
@@ -386,10 +385,10 @@
/* 맵핑 여부 */
<choose>
<when test="cmd.isMapping">
AND r.researcher_name is not null
AND hvr.researcher_name is not null
</when>
<when test="!cmd.isMapping">
AND r.researcher_name is null
AND hvr.researcher_name is null
</when>
</choose>
</if>