cqpCow 1 年之前
父节点
当前提交
1b63fa6a23
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Service/ProductInventoryService.php

+ 1 - 1
app/Service/ProductInventoryService.php

@@ -262,7 +262,7 @@ class ProductInventoryService extends Service
             $start_map[$value['product_id']] = $value['number'];
         }
 
-        $category = ProductCategory::whereIn('id',array_unique(array_column($data,'b_r_f_id')))
+        $category = ProductCategory::whereIn('id',array_unique(array_column($data,'product_category_id')))
             ->pluck('title','id')
             ->toArray();