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