首页统计修改 统计加上预售订单信息

dev
徐杰盟 2023-09-27 11:29:08 +08:00
parent de88080479
commit c22341744f
1 changed files with 2 additions and 2 deletions

View File

@ -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" +