Procházet zdrojové kódy

施工单完成一半

cqpCow před 1 rokem
rodič
revize
81f5fcbdaa
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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)