砂站运输量统计

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" +
"SELECT\n" +
"t.supermarket_id AS id,\n" +
"t.customer_id,\n" +
"t.customer_name,\n" +
"t.weight,\n" +
"t.total_price,\n" +
"t.product_id,\n" +
"t.product_name \n" +
"FROM\n" +
"t.total_price FROM\n" +
"order_sale t \n" +
"WHERE\n" +
"t.state = 5 \n" +
@ -2193,12 +2188,8 @@ public class OrderStatService {
"AND t.isprepaid = 0 UNION\n" +
"SELECT\n" +
"t.supermarket_id AS id,\n" +
"t.customer_id,\n" +
"t.customer_name,\n" +
"t.weight,\n" +
"t.total_price,\n" +
"t.product_id,\n" +
"t.product_name \n" +
"t.total_price\n" +
"FROM\n" +
"order_temp t \n" +
"WHERE\n" +