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