shish 4 years ago
parent
commit
75e8e69b03
1 changed files with 3 additions and 0 deletions
  1. 3 0
      console/controllers/CustomController.php

+ 3 - 0
console/controllers/CustomController.php

@@ -75,6 +75,7 @@ class CustomController extends Controller
 
                     if ($ghsOrderDebtAmount != $hdCgOrderDebtAmount) {
                         noticeUtil::push("!!!!!!!供应商 {$ghsId}  客户id {$customId} 二边欠款单总金额不一致", '15280215347');
+                        echo "---------供应商 {$ghsId}  客户id {$customId} 二边欠款单总金额 {$ghsOrderDebtAmount} {$hdCgOrderDebtAmount} \n";
                         continue;
                     }
 
@@ -82,10 +83,12 @@ class CustomController extends Controller
                     $ghsSaveDebtAmount = $ghs['debtAmount'] ? floatval($ghs['debtAmount']) : 0;
 
                     if ($customSaveDebtAmount != $ghsOrderDebtAmount) {
+                        echo "**********客户 {$customId} 欠款总金额 和 订单总合 不一致 $customSaveDebtAmount $ghsOrderDebtAmount";
                         noticeUtil::push("******客户 {$customId} 欠款总金额 和 订单总合 不一致 $customSaveDebtAmount $ghsOrderDebtAmount", '15280215347');
                     }
 
                     if ($ghsSaveDebtAmount != $hdCgOrderDebtAmount) {
+                        echo "########欠供应商 {$ghsId} 金额 和 订单总合 不一致 $ghsSaveDebtAmount $hdCgOrderDebtAmount";
                         noticeUtil::push("########欠供应商 {$ghsId} 金额 和 订单总合 不一致 $ghsSaveDebtAmount $hdCgOrderDebtAmount", '15280215347');
                     }
                 }