修改为排队中的订单实际支付金额总和
This commit is contained in:
parent
cdbc3563e3
commit
cb6dbb33cd
@ -70,7 +70,7 @@ class BillionsLogic extends Logic
|
||||
$count = Billions::alias('b')->where($where)->count();
|
||||
|
||||
// 商家最高补贴
|
||||
$highSubsidy = Billions::where('user_id', $user_id)->sum('order_price', false);
|
||||
$highSubsidy = Billions::where(['user_id' => $user_id, 'state' => 0])->sum('order_price', false);
|
||||
|
||||
// 已完成订单笔数
|
||||
$doneOrder = Billions::where([
|
||||
|
||||
Loading…
Reference in New Issue
Block a user