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