Quellcode durchsuchen

施工单完成一半

cqpCow vor 1 Jahr
Ursprung
Commit
81f5fcbdaa
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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)