diff --git a/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml b/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml index 9d8f129c9..d4c3b92f8 100644 --- a/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml +++ b/mhd_oms/src/main/resources/mapper/reservationStockInOrder/ReservationStockInOrderMapper.xml @@ -455,10 +455,10 @@ and date_format(a.expect_time,'%Y-%m-%d') <= #{expectTimeEnd} - and b.in_order_number is not null + and a.issue_time is not null - and b.in_order_number is null + and a.issue_time is null @@ -491,7 +491,7 @@ select - from reservation_stock_out_order a left join NGWL_TEST_WMS.stock_out_order b on a.out_order_number = b.out_order_number + from reservation_stock_out_order a