各砂站运输量统计表调整-增加石畈砂站虚拟站-3
parent
98f59cd9e8
commit
9e41c0c0fc
|
|
@ -2174,6 +2174,8 @@ public class OrderStatService {
|
|||
" and t.supermarket_id = 4" +
|
||||
" and (t.create_time < '2021-09-08 00:00:00' \n" +
|
||||
" or t.create_time > '2021-10-15 23:59:59')\n" +
|
||||
" and t.create_time>= ? \n" +
|
||||
" and t.create_time<= ?\n" +
|
||||
paramsSql +
|
||||
" group by t.customer_id\n";
|
||||
|
||||
|
|
@ -2187,6 +2189,8 @@ public class OrderStatService {
|
|||
" and t.supermarket_id = 4" +
|
||||
" and t.create_time>= '2021-09-08 00:00:00' \n" +
|
||||
" and t.create_time<= '2021-10-15 23:59:59'\n" +
|
||||
" and t.create_time>= ? \n" +
|
||||
" and t.create_time<= ?\n" +
|
||||
paramsSql +
|
||||
" group by t.customer_id\n";
|
||||
|
||||
|
|
@ -2230,9 +2234,9 @@ public class OrderStatService {
|
|||
List<Record> customer_sale_list;
|
||||
|
||||
if (invoice_type != null) {
|
||||
customer_sale_list = Db.find(sql, stm, etm, invoice_type);
|
||||
customer_sale_list = Db.find(sql, stm, etm, invoice_type, stm, etm, invoice_type, stm, etm, invoice_type);
|
||||
} else {
|
||||
customer_sale_list = Db.find(sql, stm, etm);
|
||||
customer_sale_list = Db.find(sql, stm, etm, stm, etm, stm, etm);
|
||||
}
|
||||
|
||||
List<String> ids = new ArrayList<>();
|
||||
|
|
|
|||
Loading…
Reference in New Issue