|
@@ -615,8 +615,7 @@ def advertisement_rank(user_id, start, end, type, page, page_size, order, order_
|
|
max(is_video) as is_video,
|
|
max(is_video) as is_video,
|
|
max(preview_url) as preview_url
|
|
max(preview_url) as preview_url
|
|
from dw_image_cost_day
|
|
from dw_image_cost_day
|
|
-where replace (preview_url,' ,','') !=''
|
|
|
|
- and (1=1 {op1} {op_or1})
|
|
|
|
|
|
+ where (1=1 {op1} {op_or1})
|
|
{op4} {op5} {op8} {op10} {op11} {op12}
|
|
{op4} {op5} {op8} {op10} {op11} {op12}
|
|
{op_time_bigger} {op_time_small}
|
|
{op_time_bigger} {op_time_small}
|
|
group by campaign_id
|
|
group by campaign_id
|