Parcourir la source

MOD:素材库数据展示空图片

cxyu il y a 3 ans
Parent
commit
02198d6e60
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      data_manage/public_analysis.py

+ 1 - 2
data_manage/public_analysis.py

@@ -615,8 +615,7 @@ def advertisement_rank(user_id, start, end, type, page, page_size, order, order_
     max(is_video) as is_video,
     max(preview_url) as preview_url
     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}  
     {op_time_bigger} {op_time_small}
     group by campaign_id