v_household_visit 뷰 삭제
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user