소스 검색

施工单完成一半

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

+ 1 - 1
app/Service/ConstructionService.php

@@ -189,7 +189,7 @@ class ConstructionService extends Service
         try {
             DB::beginTransaction();
 
-            Construction::whereIn('id',$data['id'])->update([
+            Construction::where('id',$data['id'])->update([
                 'del_time'=> time()
             ]);
             ConstructionInfo::where('del_time',0)