bug修改

dev
wany 2025-03-12 17:35:14 +08:00
parent 8c019d3b40
commit 6919173bc3
2 changed files with 9 additions and 6 deletions

View File

@ -101,7 +101,7 @@ public class OrderTempService extends BaseService {
Integer product_id,
Boolean invoice_code_is_null
) {
String selectsql = "select t.* ,t.sn as old_sn" +
String selectsql = "select t.* ,t.sn as old_sn,t.ticket_code as old_ticket_code" +
", p.in_time, p.out_time, p.in_which, p.out_which, p.in_mode, p.out_mode \n" +
", p.first_weight, p.second_weight, p.first_weigh_mode, p.second_weight_mode \n" +
", p.first_pic, p.first_weight_which, p.second_weight_which, p.second_pic \n" +

View File

@ -673,7 +673,6 @@ public class OrderStatService {
" ) t ON s.id = t.sandfarm_id \n" +
"WHERE\n" +
" s.type = 1 \n" +
" and s.isdeploy = 1 \n" +
"GROUP BY\n" +
" s.id \n" +
"ORDER BY\n" +
@ -3685,8 +3684,10 @@ public class OrderStatService {
"FROM\n" +
" supermarket t\n" +
"WHERE\n" +
" id <= 6\n" +
"OR id = 11 or id = 12 ");
"t.type = 0"
// " id <= 6\n" +
// "OR id = 11 or id = 12 "
);
// 预售金额统计
List<Object> paraList1 = new ArrayList<>();
@ -4521,8 +4522,10 @@ public class OrderStatService {
"FROM\n" +
" supermarket t\n" +
"WHERE\n" +
" id <= 6\n" +
"OR id = 11 or id = 12 ");
// " id <= 6\n" +
// "OR id = 11 or id = 12 "
"t.type = 0 "
);
List<Object> shParamsList = new ArrayList<>();
List<Object> yhParamsList = new ArrayList<>();