diff --git a/app/Services/Equipment/ServerPartService.php b/app/Services/Equipment/ServerPartService.php index 97cb4eb..348abf7 100644 --- a/app/Services/Equipment/ServerPartService.php +++ b/app/Services/Equipment/ServerPartService.php @@ -221,9 +221,6 @@ class ServerPartService extends EquipmentService public function detachFromServer(ServerEntity $serverEntity): void { foreach ($this->getEntities(['serverinfo_uid' => $serverEntity->getPK(), "billing !=" => PAYMENT['BILLING']['BASE']]) as $entity) { - if (!$entity instanceof ServerPartEntity) { - continue; - } //파트정보 해지 $this->getPartService($entity->getType())->detachFromServerPart($entity); //서버파트 해지