From 18f3f7fa9e453f1140112f1ac085c25f1ae15318 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Fri, 5 Sep 2025 20:57:30 +0900 Subject: [PATCH] dbmsv2 init...1 --- app/Services/Customer/ServiceService.php | 2 +- app/Services/Equipment/ServerPartService.php | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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; } //삭제