shish 1 ماه پیش
والد
کامیت
91e0ad3f16
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      console/controllers/ClearController.php

+ 3 - 2
console/controllers/ClearController.php

@@ -22,7 +22,7 @@ class ClearController extends Controller
         if (getenv('YII_ENV') == 'production') {
             $autoId = 817342;
         } else {
-            $autoId = 1437;
+            $autoId = 1426;
         }
 
         $query = new \yii\db\Query();
@@ -57,6 +57,7 @@ class ClearController extends Controller
                                     $addData = ['orderId' => 0, 'orderSn' => '', 'cgId' => $purchaseId, 'cgSn' => $purchaseOrderSn,
                                         'clearId' => $clearId, 'clearSn' => $clearSn, 'amount' => $clearAmount, 'status' => $status];
                                     OrderCgClearClass::add($addData);
+                                    echo "ghs cg clearId {$clearId} OK ### \n";
                                 }
                             } else {
                                 echo "供货商采购 clearId {$clearId} 有缺数据 \n";
@@ -82,7 +83,7 @@ class ClearController extends Controller
                                             'clearId' => $clearId, 'clearSn' => $clearSn, 'amount' => $clearAmount, 'status' => $status];
                                         OrderCgClearClass::add($addData);
                                     }
-                                    echo "clearId {$clearId} OK \n";
+                                    echo "hd cg clearId {$clearId} OK *** \n";
                                 }
                             } else {
                                 echo "花店采购 clearId {$clearId} 有缺数据 \n";