Merge branch 'bo_bug_fixes' into 'dev'
쿼리 수정 See merge request korea-research/korea-research!152
This commit is contained in:
@@ -27,10 +27,5 @@ public class GetHouseholdsStatus {
|
|||||||
private Boolean isGiftSent;
|
private Boolean isGiftSent;
|
||||||
private String researcherName;
|
private String researcherName;
|
||||||
private String researcherPhone;
|
private String researcherPhone;
|
||||||
private Integer ownerAge;
|
|
||||||
private String address;
|
|
||||||
private String industrySubMiddle;
|
|
||||||
private String industryDetail;
|
|
||||||
private String usageType;
|
|
||||||
private Integer total;
|
private Integer total;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,12 +79,7 @@
|
|||||||
vs.second_visit_date AS secondVisitDate,
|
vs.second_visit_date AS secondVisitDate,
|
||||||
COALESCE(vs.is_gift_sent, false) AS isGiftSent,
|
COALESCE(vs.is_gift_sent, false) AS isGiftSent,
|
||||||
r.researcher_name AS researcherName,
|
r.researcher_name AS researcherName,
|
||||||
r.researcher_phone AS researcherPhone,
|
r.researcher_phone AS researcherPhone
|
||||||
h.owner_age, /* 엑셀용 */
|
|
||||||
h.address, /* 엑셀용 */
|
|
||||||
h.industry_sub_middle, /* 엑셀용 */
|
|
||||||
h.industry_detail, /* 엑셀용 */
|
|
||||||
h.usage_type /* 엑셀용 */
|
|
||||||
FROM v_household_with_code h
|
FROM v_household_with_code h
|
||||||
CROSS JOIN total_days td
|
CROSS JOIN total_days td
|
||||||
LEFT JOIN daily_progress dp ON h.seq = dp.household_seq
|
LEFT JOIN daily_progress dp ON h.seq = dp.household_seq
|
||||||
|
|||||||
Reference in New Issue
Block a user