diff --git a/app/Services/Customer/ServiceService.php b/app/Services/Customer/ServiceService.php index 261b912..8c25a32 100644 --- a/app/Services/Customer/ServiceService.php +++ b/app/Services/Customer/ServiceService.php @@ -178,7 +178,7 @@ class ServiceService extends CustomerService $serverFormDatas["clientinfo_uid"] = $entity->getClientInfoUID(); $serverFormDatas["serviceinfo_uid"] = $entity->getPK(); $serverFormDatas["status"] = STATUS['OCCUPIED']; - $serverEntity = $this->getServerService()->modify($serverEntity, $serverFormDatas,); + $serverEntity = $this->getServerService()->modify($serverEntity, $serverFormDatas); $entity->setServerEntity($serverEntity); return $entity; } diff --git a/app/Services/Equipment/ServerPartService.php b/app/Services/Equipment/ServerPartService.php index 4e3ce39..b912c83 100644 --- a/app/Services/Equipment/ServerPartService.php +++ b/app/Services/Equipment/ServerPartService.php @@ -204,9 +204,7 @@ class ServerPartService extends EquipmentService //기존 정보변경 $entity = parent::modify($entity, $formDatas); //기존과 신규의 Type이 같고, 기존 Part_UID와 신규 Part_UID가 다르면 부품정보에 서버정보 설정 및 서비스,고객정보 정의 Part정보 사용중으로 변경 - if ($entity->getType() == $formDatas['type'] && $entity->getPartUID() != $formDatas['part_uid']) { - $entity->setPartEntity($this->action_process($entity, $formDatas['part_uid'], STATUS['OCCUPIED'])); - } + $entity->setPartEntity($this->action_process($entity, $formDatas['part_uid'], STATUS['OCCUPIED'])); return $entity; } //삭제