diff --git a/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml b/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml index f58f1e01..5081c750 100644 --- a/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml +++ b/ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml @@ -127,7 +127,7 @@ updated_at, deleted_at from order_list - where order_id = (select order_id from delivery_list where id = #{deliveryId}) + where order_id = (select order_id from order_delivery where id = #{deliveryId} and status=0) and status=0