Selaa lähdekoodia

施工单完成一半

cqpCow 1 vuosi sitten
vanhempi
commit
81f5fcbdaa
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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)