首页统计全部数据
parent
8cb733c47d
commit
04a7961e08
|
|
@ -181,7 +181,7 @@ group by date
|
|||
" ifnull(sum(t.total_price), 0) total_price,\n" +
|
||||
" ifnull(sum(t.count), 0) truck_cnt,\n" +
|
||||
// " ifnull(sum(case when t.date >= ? and t.sale_type = 0 then t.weight end ), 0) year_total_weight,\n" +
|
||||
" ifnull(sum(case when t.date >= ? and then t.weight end ), 0) year_total_weight,\n" +
|
||||
" ifnull(sum(case when t.date >= ? then t.weight end ), 0) year_total_weight,\n" +
|
||||
// " ifnull(sum(case when t.date >= ? and t.sale_type = 0 then t.total_price end ), 0) year_total_price,\n" +
|
||||
" ifnull(sum(case when t.date >= ? then t.total_price end ), 0) year_total_price,\n" +
|
||||
// " ifnull(sum(case when t.date >= ? and t.sale_type = 0 then t.count else 0 end ), 0) year_truck_cnt,\n" +
|
||||
|
|
|
|||
Loading…
Reference in New Issue