shish hai 2 meses
pai
achega
abadf3f630
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      console/controllers/CustomController.php

+ 1 - 1
console/controllers/CustomController.php

@@ -157,7 +157,7 @@ class CustomController extends Controller
             // 1. 查询 xhShop 表,获取所有 ptStyle = 1 的门店数据,每次取出500个进行处理
             // 1. 查询 xhShop 表,获取所有 ptStyle = 1 的门店数据,每次取出500个进行处理
             $query = Shop::find()
             $query = Shop::find()
                 ->select('id, mainId')
                 ->select('id, mainId')
-                ->where(['ptStyle' => 1])
+                ->where(['ptStyle' => 1,'id'=>6362])
                 ->orderBy('id DESC')
                 ->orderBy('id DESC')
                 ->asArray();
                 ->asArray();