|
@@ -1012,8 +1012,8 @@ def content_rank(user_id, start, end, page, page_size, order, order_by, book, ch
|
|
|
max(video_length) as video_length,
|
|
|
sum(use_times) as use_times
|
|
|
from dw_image_cost_day
|
|
|
- where (REPLACE(REPLACE(description, CHAR(10), ''), CHAR(13), '') is not null
|
|
|
- or REPLACE(REPLACE(title, CHAR(10), ''), CHAR(13), '') is not null )
|
|
|
+ where ( length(REPLACE(REPLACE(description, CHAR(10), ''), CHAR(13), ''))>0
|
|
|
+ or length(REPLACE(REPLACE(title, CHAR(10), ''), CHAR(13), ''))>0 )
|
|
|
and (1=1 {op1} {op_or1})
|
|
|
{op4} {op10} {op_content} {op_campaign_id}
|
|
|
{op_time_bigger} {op_time_small}
|