Merge branch 'bo_bug_fixes' into 'dev'

쿼리 수정

See merge request korea-research/korea-research!152
This commit is contained in:
이강선 매니저/ST
2025-07-25 06:31:46 +00:00
2 changed files with 1 additions and 11 deletions

View File

@@ -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;
}

View File

@@ -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