ck 4 年之前
父節點
當前提交
550a44db70
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      data_manage/public_analysis.py

+ 1 - 1
data_manage/public_analysis.py

@@ -340,7 +340,7 @@ def pitcher_overview(start, end, pitcher, page, page_size, order_by, order):
     sum(ba1) td_amount,
     sum(ba2) yd_amount,
     sum(ba3) byd_amount  
-    from dw_pitcher_trend where cost>0 {op1} {op2} {op3} group by pitcher {op4}
+    from dw_pitcher_trend where cost>0 and pitcher!='' {op1} {op2} {op3} group by pitcher {op4}
     """
 
     return getLimitData(db.dm, sql, page, page_size)