首页统计修改 统计加上预售订单信息
parent
de88080479
commit
c22341744f
|
|
@ -173,8 +173,8 @@ group by date
|
|||
" ifnull(sum(case when t.create_time >= ? then t.total_price end ), 0) day_total_price,\n" +
|
||||
" ifnull(sum(case when t.create_time >= ? then 1 else 0 end ), 0) day_truck_cnt\n" +
|
||||
" from order_temp t\n" +
|
||||
" where t.sale_type = 0\n" +
|
||||
" and t.state = 5\n" +
|
||||
" where t.state = 5\n" +
|
||||
// " and t.sale_type = 0\n" +
|
||||
// " and t.product_id != 4\n" +
|
||||
" union\n" +
|
||||
" select \n" +
|
||||
|
|
|
|||
Loading…
Reference in New Issue