修改售后订单状态

This commit is contained in:
wangxiaowei 2024-08-10 15:09:06 +08:00
parent 895916fe49
commit f5462b74b9

@ -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_DELIVERY, Order::STATUS_WAIT_RECEIVE, Order::STATUS_FINISH]];
$where[] = ['o.order_status', 'in', [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')