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

+ 2 - 2
app/Service/InventoryService.php

@@ -249,8 +249,8 @@ class InventoryService extends Service
 
         try {
             DB::beginTransaction();
-            foreach ($data as $value){
-                InventoryOrderAsset::whereIn('id',$value['id'])
+            foreach ($data['data'] as $value){
+                InventoryOrderAsset::where('id',$value['id'])
                     ->where('del_time',0)
                     ->update([
                         'remark' => $value['remark'],