liyinglin 2 years ago
parent 191256b899
commit b4a689161f

@ -447,7 +447,7 @@ class StatisticsController extends CommonController
{
$total = OrderItems::where('product_item_id', $product_item_id)
->whereJsonContains('factors->factor_item_id', $factor_item_id)
->whereIn('order_id', $orderIds)
->whereIn('order_id1', $orderIds)
->sum('total');
return $total;
}

Loading…
Cancel
Save