From 32dc85e32ed86e2ea2041e92f723af2940e077ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Fri, 11 Apr 2025 16:47:29 +0900 Subject: [PATCH] dbms_primeidc_init...1 --- extdbms/lib/Controllers/DBMS/ServiceController.php | 6 +++--- extdbms/lib/Views/dbms/service/extra.php | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/extdbms/lib/Controllers/DBMS/ServiceController.php b/extdbms/lib/Controllers/DBMS/ServiceController.php index 63b02c6..bdd3c3e 100644 --- a/extdbms/lib/Controllers/DBMS/ServiceController.php +++ b/extdbms/lib/Controllers/DBMS/ServiceController.php @@ -40,16 +40,16 @@ class ServiceController extends DBMSController if (!array_key_exists('adddb_code', $params)) { throw new \Exception("adddb_code 값이 정의되지 않았습니다."); } - $adddb_code = urldecode($params['adddb_code']); + $this->adddb_code = urldecode($params['adddb_code']); //해당 부가서비스의 services_code 목록 가져오기 //segment의 값이 한글인경우 urldecode가 필요 - $addDbEntities = $this->getAddDbService()->getEntitiesByCode($adddb_code); + $addDbEntities = $this->getAddDbService()->getEntitiesByCode($this->adddb_code); $service_codes = []; foreach ($addDbEntities as $entity) { $service_codes[] = $entity->getServiceCode(); } if (!count($service_codes)) { - throw new \Exception("[{$adddb_code}] 값에 해당하는 부가서비스정보가 존재하지 않습니다."); + throw new \Exception("[{$this->adddb_code}] 값에 해당하는 부가서비스정보가 존재하지 않습니다."); } //전체 사용자정보 $this->clients = $this->getClientService()->getEntities(); diff --git a/extdbms/lib/Views/dbms/service/extra.php b/extdbms/lib/Views/dbms/service/extra.php index 8941da1..b142cd4 100644 --- a/extdbms/lib/Views/dbms/service/extra.php +++ b/extdbms/lib/Views/dbms/service/extra.php @@ -25,10 +25,11 @@ clients[$entity->getClientCode()]->getTitle() ?> getServerCode() ?> - entity_ip ?> - entity_os ?> - entity_sw ?> + service_ip ?> + service_os ?> + service_sw ?> - \ No newline at end of file + +
pagination->render("/dbms/service/extra/adddb_code/", ['adddb_code' => $this->ip, 'curPage' => $this->curPage, 'perPage' => $this->perPage]) ?>
\ No newline at end of file