cqpCow 10 mesi fa
parent
commit
eb0a3a5f5f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      app/Service/ConstructionService.php

+ 1 - 0
app/Service/ConstructionService.php

@@ -85,6 +85,7 @@ class ConstructionService extends Service
 
             ConstructionInfo::where('del_time',0)
                 ->where('construction_id',$data['id'])
+                ->where('type',ConstructionInfo::type_two)
                 ->update(['del_time' => $time]);
             ConstructionProductInfo::where('del_time',0)
                 ->where('construction_id',$data['id'])