|
@ -887,7 +887,7 @@ |
|
|
<choose> |
|
|
<choose> |
|
|
<when test='dataType == "agency"'> |
|
|
<when test='dataType == "agency"'> |
|
|
, agency_id orgId |
|
|
, agency_id orgId |
|
|
FROM fact_topic_total_agency_daily |
|
|
FROM fact_topic_hotdiscuss_agency_daily |
|
|
WHERE del_flag = '0' |
|
|
WHERE del_flag = '0' |
|
|
<foreach collection="idList" item="id" open="AND agency_id IN (" separator="," close=")"> |
|
|
<foreach collection="idList" item="id" open="AND agency_id IN (" separator="," close=")"> |
|
|
#{id} |
|
|
#{id} |
|
@ -895,7 +895,7 @@ |
|
|
</when> |
|
|
</when> |
|
|
<otherwise> |
|
|
<otherwise> |
|
|
, grid_id orgId |
|
|
, grid_id orgId |
|
|
FROM fact_topic_total_grid_daily |
|
|
FROM fact_topic_hotdiscuss_grid_daily |
|
|
WHERE del_flag = '0' |
|
|
WHERE del_flag = '0' |
|
|
<foreach collection="idList" item="id" open="AND grid_id IN (" separator="," close=")"> |
|
|
<foreach collection="idList" item="id" open="AND grid_id IN (" separator="," close=")"> |
|
|
#{id} |
|
|
#{id} |
|
|