lisai17@sina.com 2020-10-14 15:29:53 +08:00
parent ca11e8e630
commit 1497737f14
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ group by date
" ifnull(sum(case when t.create_time like '" + premonthtm + "%' then t.total_price end ), 0) before_month_total_price, \n" + " ifnull(sum(case when t.create_time like '" + premonthtm + "%' then t.total_price end ), 0) before_month_total_price, \n" +
" ifnull(sum(case when t.create_time like '" + predaytm + "%' then t.total_price end) , 0) before_day_total_price \n" + " ifnull(sum(case when t.create_time like '" + predaytm + "%' then t.total_price end) , 0) before_day_total_price \n" +
" from order_temp t\n" + " from order_temp t\n" +
" where t.state = 5"; " where t.state = ?";
String sql_ordercluster_truck = "select\n" + String sql_ordercluster_truck = "select\n" +
" count(t.id) truck_cnt,\n" + " count(t.id) truck_cnt,\n" +