[BO] 대시보드 쿼리 수정
This commit is contained in:
@@ -69,7 +69,7 @@
|
||||
and h.usage_type = #{usageType}
|
||||
</if>
|
||||
LEFT JOIN household_visit hv
|
||||
ON hv.household_seq = h.seq AND hv.is_deleted = false
|
||||
ON hv.household_seq = h.seq AND hv.is_deleted = false AND to_char(hv.visit_date,'YYYYMM') = #{recordMonth}
|
||||
LEFT JOIN v_monthly_completion_rate v
|
||||
ON v.household_seq = h.seq AND v.record_month = #{recordMonth}
|
||||
WHERE u.parent_id = 'code.region.main' and u.in_use = true
|
||||
|
||||
Reference in New Issue
Block a user