From ceb65ad9890c2e4841733a77516854a469793b8c Mon Sep 17 00:00:00 2001 From: wucongxing8150 <815046773@qq.com> Date: Wed, 8 May 2024 15:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8E=B7=E5=8F=96=E6=88=91?= =?UTF-8?q?=E7=9A=84=E8=B4=A6=E6=88=B7=E6=9C=88=E8=B4=A6=E5=8D=95=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Services/DoctorAccountService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/DoctorAccountService.php b/app/Services/DoctorAccountService.php index 7f54f16..6868498 100644 --- a/app/Services/DoctorAccountService.php +++ b/app/Services/DoctorAccountService.php @@ -200,7 +200,7 @@ class DoctorAccountService extends BaseService } elseif ($result['OrderServicePackage']['order_service_status'] == 4) { $result['entry_status'] = 2;// 入账成功 } elseif ($result['OrderServicePackage']['order_service_status'] == 5) { - if (($result['OrderServicePackage']['amount_total'] - $result['refund_total']) > 0) { + if ($result['expected_amount_total'] > 0) { $result['entry_status'] = 2;// 入账成功 } else { $result['entry_status'] = 3;// 入账失败