cqpCow 1 년 전
부모
커밋
3a91c0fc68
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/ProductInventoryService.php

+ 1 - 1
app/Service/ProductInventoryService.php

@@ -266,7 +266,7 @@ class ProductInventoryService extends Service
             ->pluck('title','id')
             ->toArray();
 
-        $basic_map = BasicType::whereIn('id',array_unique(array_column($data['data'],'unit')))
+        $basic_map = BasicType::whereIn('id',array_unique(array_column($data,'unit')))
             ->pluck('title','id')
             ->toArray();