From b9c0a7192aa77a1a305bbf3cfbc4d9af39c7185e Mon Sep 17 00:00:00 2001 From: weigang Date: Fri, 25 Sep 2020 09:35:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=9F=E8=AE=A1=E4=BD=99?= =?UTF-8?q?=E9=A2=9D=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/FinancialRecordService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Service/v3/Implementations/FinancialRecordService.php b/app/Service/v3/Implementations/FinancialRecordService.php index 61e3b7d..74c23f0 100644 --- a/app/Service/v3/Implementations/FinancialRecordService.php +++ b/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');