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; } }