ck hace 4 años
padre
commit
992aca57c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      data_manage/public_analysis.py

+ 1 - 1
data_manage/public_analysis.py

@@ -441,7 +441,7 @@ def advertisement_rank(start,end,type,page,page_size,order,order_by,book):
     image_id,
     preview_url
     from dw_image_cost_day
-    where 1=1  {op2} {op3} {op8} {op10} {op9}  
+    where preview_url!=''  {op2} {op3} {op8} {op10} {op9}  
     """
     sum_sql = f"""select '总计' as pitcher,
                       sum(cost) cost,