Browse Source

欠款跟踪

shish 2 năm trước cách đây
mục cha
commit
a1b70d7f0d
1 tập tin đã thay đổi với 0 bổ sung13 xóa
  1. 0 13
      console/controllers/CustomController.php

+ 0 - 13
console/controllers/CustomController.php

@@ -35,9 +35,6 @@ class CustomController extends Controller
         foreach ($shopList as $key => $shop) {
 
             $shopId = $shop->id ?? 0;
-//            $shopName = $shop->shopName ?? '';
-//            $merchantName = $shop->merchantName ?? '';
-//            echo "{$merchantName}-{$shopName} \n\n\n\n";
 
             $query = new \yii\db\Query();
 
@@ -93,23 +90,13 @@ class CustomController extends Controller
 
                         if ($customSaveDebtAmount != $ghsOrderDebtAmount) {
                             echo "*********客户 {$customId} 欠款 和 订单总额 不一致 $customSaveDebtAmount $ghsOrderDebtAmount \n";
-
                             noticeUtil::push("*********客户 {$customId} 欠款总金额 和 订单总合 不一致 $customSaveDebtAmount $ghsOrderDebtAmount ", '15280215347');
-
-//                        echo "已更:".$hdCgOrderDebtAmount.' '.$ghsOrderDebtAmount."\n";
-//                        \bizHd\ghs\classes\GhsClass::updateById($ghsId, ['debtAmount' => $hdCgOrderDebtAmount]);
-//                        CustomClass::updateById($customId, ['debtAmount' => $ghsOrderDebtAmount]);
                             continue;
                         }
 
                         if ($ghsSaveDebtAmount != $hdCgOrderDebtAmount) {
                             echo "#########欠供货商 {$ghsId}  和 订单总额 不一致 $ghsSaveDebtAmount $hdCgOrderDebtAmount \n";
-
                             noticeUtil::push("#########欠供货商 {$ghsId} 金额 和 订单总合 不一致 $ghsSaveDebtAmount $hdCgOrderDebtAmount ", '15280215347');
-
-//                        echo "已更:".$hdCgOrderDebtAmount.' '.$ghsOrderDebtAmount."\n";
-//                        \bizHd\ghs\classes\GhsClass::updateById($ghsId, ['debtAmount' => $hdCgOrderDebtAmount]);
-//                        CustomClass::updateById($customId, ['debtAmount' => $ghsOrderDebtAmount]);
                             continue;
                         }