shish 3 лет назад
Родитель
Сommit
fef8fdb6ff
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -1038,7 +1038,7 @@ class ProductController extends BaseController
         if (empty($ids)) {
             util::fail('请选择花材');
         }
-        $list = ProductClass::getByCondition(['id' => ['in', $ids]], true);
+        $list = ProductClass::getAllByCondition(['id' => ['in', $ids]], null, '*', null, true);
         if (empty($list)) {
             util::fail('请选择花材');
         }