Selaa lähdekoodia

车辆交车单删除

cqpCow 1 vuosi sitten
vanhempi
commit
bdabe07020
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/Service/ConstructionService.php

+ 1 - 1
app/Service/ConstructionService.php

@@ -885,7 +885,7 @@ class ConstructionService extends Service
     }
 
     public function deliveryNoteDel($data,$user){
-        DeliveryNote::where('img4',$data['id'])->update(
+        DeliveryNote::where('id',$data['id'])->update(
             [
                 'del_time' => time(),
                 'upd_id' => $user['id'],