Browse Source

修复统计余额的问题

master
weigang 5 years ago
parent
commit
b9c0a7192a
  1. 2
      app/Service/v3/Implementations/FinancialRecordService.php

2
app/Service/v3/Implementations/FinancialRecordService.php

@ -309,7 +309,7 @@ class FinancialRecordService implements FinancialRecordServiceInterface
}
$sumAmount = $financialRecord->where([
'source_id' => $user_id,
'user_id' => $user_id,
'user_type' => $user_type
])->whereIn('money_type', $money_type)
->sum('money');

Loading…
Cancel
Save