|
@@ -680,7 +680,7 @@ def get_pitcher_trend(pitcher,start=None,end=None,page=None,page_size=None,order
|
|
|
from dw_pitcher_trend where 1=1 {op1} {op2} {op3} {op4}
|
|
|
"""
|
|
|
|
|
|
- sumSql=f"""select '总计' dt,sum(cost) cost,
|
|
|
+ sumSql=f"""select concat(date_format(min(dt),'%Y/%m/%d'),'~',date_format(max(dt),'%Y/%m/%d')) dt,sum(cost) cost,
|
|
|
sum(reg_amount) reg_amount,
|
|
|
round(sum(first_amount)/sum(cost),4) first_roi,
|
|
|
round(sum(reg_amount)/sum(cost),4) roi,
|