diff --git a/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/order/ordertemp/OrderTempService.java b/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/order/ordertemp/OrderTempService.java index 252c6ef..fb850bd 100644 --- a/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/order/ordertemp/OrderTempService.java +++ b/ssjygl-xsx-common/src/main/java/com/cowr/ssjygl/order/ordertemp/OrderTempService.java @@ -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" +