更新订单统计

This commit is contained in:
yaooo 2023-08-18 18:01:58 +08:00
parent a445b388b0
commit ddc9c67448

View File

@ -874,7 +874,7 @@ class StoreOrderRepository extends BaseRepository
switch ($status) {
case 1:
$param['StoreOrder.paid'] = 0;
break; // 未支付
break; // 未支付
case 2:
$param['StoreOrder.paid'] = 1;
$param['StoreOrder.status'] = 0;
@ -899,7 +899,7 @@ class StoreOrderRepository extends BaseRepository
break; // 已支付
default:
unset($param['StoreOrder.is_del']);
break; //全部
break; // 全部
}
return $param;
}