砂站运输量统计

dev
xiaocui 2021-03-30 21:15:09 +08:00
parent 704539b02c
commit 69edf63a52
1 changed files with 6 additions and 15 deletions

View File

@ -2178,13 +2178,8 @@ public class OrderStatService {
"(\n" + "(\n" +
"SELECT\n" + "SELECT\n" +
"t.supermarket_id AS id,\n" + "t.supermarket_id AS id,\n" +
"t.customer_id,\n" +
"t.customer_name,\n" +
"t.weight,\n" + "t.weight,\n" +
"t.total_price,\n" + "t.total_price FROM\n" +
"t.product_id,\n" +
"t.product_name \n" +
"FROM\n" +
"order_sale t \n" + "order_sale t \n" +
"WHERE\n" + "WHERE\n" +
"t.state = 5 \n" + "t.state = 5 \n" +
@ -2193,12 +2188,8 @@ public class OrderStatService {
"AND t.isprepaid = 0 UNION\n" + "AND t.isprepaid = 0 UNION\n" +
"SELECT\n" + "SELECT\n" +
"t.supermarket_id AS id,\n" + "t.supermarket_id AS id,\n" +
"t.customer_id,\n" +
"t.customer_name,\n" +
"t.weight,\n" + "t.weight,\n" +
"t.total_price,\n" + "t.total_price\n" +
"t.product_id,\n" +
"t.product_name \n" +
"FROM\n" + "FROM\n" +
"order_temp t \n" + "order_temp t \n" +
"WHERE\n" + "WHERE\n" +