getEntity($serverPartEntity->getServiceInfoUID()); if (!$entity instanceof ServiceEntity) { throw new \Exception("[{$serverPartEntity->getServiceInfoUID()}]에 대한 서비스정보를 찾을수 없습니다."); } //서비스금액변경 사항이 있는지 확인후 처리 return $this->setAmount($entity); } public function createServerPart(ServerPartEntity $serverPartEntity): ServerPartEntity { $this->action_process($serverPartEntity); return $serverPartEntity; } //create와 같은 작업임 public function modifyServerPart(ServerPartEntity $serverPartEntity): ServerPartEntity { return $this->createServerPart($serverPartEntity); } //create와 같은 작업임 public function deleteServerPart(ServerPartEntity $serverPartEntity): ServerPartEntity { return $this->createServerPart($serverPartEntity); } }