v_household_visit 뷰 삭제
This commit is contained in:
@@ -337,7 +337,6 @@
|
|||||||
h.is_panel AS isPanel,
|
h.is_panel AS isPanel,
|
||||||
r.researcher_name AS researcherName
|
r.researcher_name AS researcherName
|
||||||
FROM v_household_with_code h
|
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
|
LEFT JOIN v_household_researcher r ON h.seq = r.household_seq
|
||||||
) AS hvr
|
) AS hvr
|
||||||
<where>
|
<where>
|
||||||
@@ -386,10 +385,10 @@
|
|||||||
/* 맵핑 여부 */
|
/* 맵핑 여부 */
|
||||||
<choose>
|
<choose>
|
||||||
<when test="cmd.isMapping">
|
<when test="cmd.isMapping">
|
||||||
AND r.researcher_name is not null
|
AND hvr.researcher_name is not null
|
||||||
</when>
|
</when>
|
||||||
<when test="!cmd.isMapping">
|
<when test="!cmd.isMapping">
|
||||||
AND r.researcher_name is null
|
AND hvr.researcher_name is null
|
||||||
</when>
|
</when>
|
||||||
</choose>
|
</choose>
|
||||||
</if>
|
</if>
|
||||||
|
|||||||
Reference in New Issue
Block a user