cqpCow 10 ヶ月 前
コミット
eb0a3a5f5f
1 ファイル変更1 行追加0 行削除
  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'])