ck %!s(int64=4) %!d(string=hai) anos
pai
achega
550a44db70
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)