From 30c853b99fc8a18b28c1f3a9b02bcedd133d73a7 Mon Sep 17 00:00:00 2001 From: wangxiaowei Date: Sat, 10 Aug 2024 14:08:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A6=82=E6=9E=9C=E8=AE=A2=E5=8D=95=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E6=98=AF=E5=9C=A8=E5=BE=85=E5=8F=91=E8=B4=A7=E7=9A=84?= =?UTF-8?q?=E6=83=85=E5=86=B5=E4=B8=8B=E7=94=B3=E8=AF=B7=E4=BA=86=E9=80=80?= =?UTF-8?q?=E6=AC=BE=E5=88=99=E5=9C=A8=E9=80=80=E6=AC=BE=E5=94=AE=E5=90=8E?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=B1=95=E7=A4=BA=E8=AF=A5=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/logic/AfterSaleLogic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/logic/AfterSaleLogic.php b/app/api/logic/AfterSaleLogic.php index 4c1c4bc1..4a388a2e 100755 --- a/app/api/logic/AfterSaleLogic.php +++ b/app/api/logic/AfterSaleLogic.php @@ -53,7 +53,7 @@ class AfterSaleLogic extends Logic switch ($type) { case 'normal': $where[] = ['g.refund_status', '=', OrderGoodsEnum::REFUND_STATUS_NO]; - $where[] = ['o.order_status', 'in', [Order::STATUS_WAIT_RECEIVE, Order::STATUS_FINISH]]; + $where[] = ['o.order_status', 'in', [Order::STATUS_WAIT_DELIVERY, Order::STATUS_WAIT_RECEIVE, Order::STATUS_FINISH]]; $order = new Order(); $count = $order->alias('o') ->field('o.id,o.confirm_take_time,o.order_status,o.create_time, o.allow_after_sale, s.id as sid,s.name as shop_name,s.type as shop_type')