shish 2 年之前
父節點
當前提交
b27f2fa7ef
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      console/controllers/InitController.php

+ 0 - 1
console/controllers/InitController.php

@@ -26,7 +26,6 @@ class InitController extends Controller
     {
     {
         ini_set('memory_limit', '2045M');
         ini_set('memory_limit', '2045M');
         set_time_limit(0);
         set_time_limit(0);
-        ProductClass::updateByCondition(['id>' => 0], ['onStock' => 0]);
         $cgList = PurchaseOrderClass::getAllByCondition(['status' => 3], null, '*', null, true);
         $cgList = PurchaseOrderClass::getAllByCondition(['status' => 3], null, '*', null, true);
         if (!empty($cgList)) {
         if (!empty($cgList)) {
             foreach ($cgList as $key => $cg) {
             foreach ($cgList as $key => $cg) {