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'])