diff --git a/src/main/resources/mapper/transmission_mapper.xml b/src/main/resources/mapper/transmission_mapper.xml index accb87e..0ad3e9c 100644 --- a/src/main/resources/mapper/transmission_mapper.xml +++ b/src/main/resources/mapper/transmission_mapper.xml @@ -239,7 +239,7 @@ END) ) V(cluster) WHERE option_cd = '02' - AND cand_party = 'CAND' + --AND cand_party = 'CAND' AND area_cd = '16' AND T.cluster IN ('1', '2', '3', '4') AND V.cluster IS NOT NULL @@ -248,7 +248,7 @@ SELECT area_cd, cand_party, '9'+cluster, cand_party_cd, CONVERT(NUMERIC(4,1), case when ISNULL(SUM(sum_cnt), 0) = 0 then 0 else ISNULL(SUM(cnt), 0) / ISNULL(SUM(sum_cnt), 0) * 100 end) AS sect_rate FROM exitpoll.dbo.TMP_OUTPUT_DDAY WHERE option_cd = '02' - and cand_party = 'CAND' + --and cand_party = 'CAND' and area_cd <> '16' GROUP BY area_cd, cand_party, '9'+cluster, cand_party_cd ) A LEFT JOIN (