From b1701889c4652cb0f939154d36095f1dd71a2bcd Mon Sep 17 00:00:00 2001 From: chenzhi Date: Sat, 28 Mar 2020 11:55:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B4=A2=E5=8A=A1=E6=AF=94?= =?UTF-8?q?=E8=BE=83=E9=87=91=E9=A2=9D=E4=B8=8D=E7=AC=A6=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/FinanceCompareController.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Admin/Controller/FinanceCompareController.class.php b/Application/Admin/Controller/FinanceCompareController.class.php index 95c37f73c..a1dc4749d 100644 --- a/Application/Admin/Controller/FinanceCompareController.class.php +++ b/Application/Admin/Controller/FinanceCompareController.class.php @@ -462,7 +462,7 @@ class FinanceCompareController extends ThinkController $ydata[$v['pay_order_number']]['pt_pay_amount'] = $v['pay_amount']; $ydata[$v['pay_order_number']]['diff_money'] = abs($ydata[$v['pay_order_number']]['pt_pay_amount']-$ydata[$v['pay_order_number']]['sj_pay_amount']); - if($ydata[$v['pay_order_number']]['sj_pay_amount'] - $v['pay_amount'] > 0){//金额不符 + if($ydata[$v['pay_order_number']]['diff_money'] > 0){//金额不符 $ydata[$v['pay_order_number']]['type'] = 1; $flag = false; continue; @@ -489,7 +489,7 @@ class FinanceCompareController extends ThinkController continue; } - if($flag){ + if($flag){//正常 $ydata[$v['pay_order_number']]['type'] = 0; } }