From b8a9c62181f5143e2ce2987564ca8da8182ea8af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Thu, 10 Feb 2022 11:35:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A2=84=E6=94=B6=E7=9B=8A?= =?UTF-8?q?=E4=BC=9A=E5=91=98=E5=B7=AE=E4=BB=B7=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DistributionPreIncomeJobService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/DistributionPreIncomeJobService.php b/app/Services/DistributionPreIncomeJobService.php index beb77377..e3bb297c 100644 --- a/app/Services/DistributionPreIncomeJobService.php +++ b/app/Services/DistributionPreIncomeJobService.php @@ -292,7 +292,7 @@ class DistributionPreIncomeJobService $preIncomeLogs[] = [ 'pre_income_id' => $preIncome->id, 'pre_income_job_id' => $job->id, - 'change_amount' => bcdiv($order->total_amount, 100), + 'change_amount' => bcdiv($totalDiffPrice, 100), 'change_sales_value' => $preIncome->total_sales_value, 'change_revenue' => $preIncome->total_revenue, 'remarks' => "订单号: {$order->sn}",