shish 4 ani în urmă
părinte
comite
67f8ff2e1b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      app-hd/controllers/OrderController.php

+ 1 - 1
app-hd/controllers/OrderController.php

@@ -425,7 +425,7 @@ class OrderController extends BaseController
             if ($order->fromType == 1 || $order->fromType == 3 || $order->fromType == 4) {
             if ($order->fromType == 1 || $order->fromType == 3 || $order->fromType == 4) {
                 //美团一般都会生成制作单,要通过声音提示制作台
                 //美团一般都会生成制作单,要通过声音提示制作台
                 if ($order->fromType == 4) {
                 if ($order->fromType == 4) {
-                    $shopExt = ShopExtClass::getById($this->shopId, true);
+                    $shopExt = ShopExtClass::getByCondition(['shopId' => $this->shopId], true);
                     ShopExtClass::newMtWork($shopExt, $order);
                     ShopExtClass::newMtWork($shopExt, $order);
                 }
                 }
             } else {
             } else {