From 4967b2149c3d5063c769549ff8e7a7fbf4984085 Mon Sep 17 00:00:00 2001 From: chenhao <852066789@qq.com> Date: Fri, 11 Apr 2025 16:22:15 +0800 Subject: [PATCH] =?UTF-8?q?fix(sip):=20=E4=BF=AE=E5=A4=8D=E5=87=BA?= =?UTF-8?q?=E8=B4=A7=E5=8D=95=E8=AF=A6=E6=83=85=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将查询条件从 delivery_list 表更改为 order_delivery 表 - 添加 status=0 条件,确保只查询有效订单 --- ruoyi-sip/src/main/resources/mapper/manage/OrderInfoMapper.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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