lisai17@sina.com 2020-10-26 17:46:27 +08:00
parent ec9a392551
commit 0cb6e19999
1 changed files with 4 additions and 4 deletions

View File

@ -59,8 +59,8 @@ public class OrderTempService extends BaseService {
", p.first_pic, p.first_weight_which, p.second_weight_which, p.second_pic \n" +
", p.arrive_time, p.type, p.memo transport_memo \n" +
", s.name supermarket_name \n" +
", v.state invoice_invalid_verify_state " +
", ov.state order_invalid_verify_state \n" +
", case when v.state is not null then 1 end invoice_invalid_verify_state " + // 只需要标记是 1不需要反映 state = 2
", case when ov.state is not null then 1 end order_invalid_verify_state \n" + // 只需要标记是 1不需要反映 state = 2
" from order_temp t \n" +
" left join transport p on p.order_sn = t.sn \n" +
" left join supermarket s on s.id = t.supermarket_id \n" +
@ -90,8 +90,8 @@ public class OrderTempService extends BaseService {
", 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" +
", p.arrive_time, p.type, p.memo transport_memo, s.name supermarket_name \n" +
", v.state invoice_invalid_verify_state \n" +
", ov.state order_invalid_verify_state \n";
", case when v.state is not null then 1 end invoice_invalid_verify_state " + // 只需要标记是 1不需要反映 state = 2
", case when ov.state is not null then 1 end order_invalid_verify_state \n"; // 只需要标记是 1不需要反映 state = 2
String fromsql = "from order_temp t \n" +
" left join transport p on p.order_sn = t.sn \n" +
" left join supermarket s on s.id = t.supermarket_id \n" +