Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
eeca2b90e9
@ -53,7 +53,7 @@ class AfterSaleLogic extends Logic
|
|||||||
switch ($type) {
|
switch ($type) {
|
||||||
case 'normal':
|
case 'normal':
|
||||||
$where[] = ['g.refund_status', '=', OrderGoodsEnum::REFUND_STATUS_NO];
|
$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();
|
$order = new Order();
|
||||||
$count = $order->alias('o')
|
$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')
|
->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')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user