dbms_init...1

This commit is contained in:
최준흠 2025-05-24 19:07:48 +09:00
parent dde9f57a14
commit 8477840b00

View File

@ -78,14 +78,14 @@ class ServiceController extends CustomerController
]; ];
$this->init('index', $fields); $this->init('index', $fields);
// $this->modal_type = 'modal_fetch_v2'; //기본은 modal_iframe임 // $this->modal_type = 'modal_fetch_v2'; //기본은 modal_iframe임
// return parent::index_process(); return parent::index_process();
$entities = []; // $entities = [];
foreach (parent::index_process() as $entity) { // foreach (parent::index_process() as $entity) {
$entity->setPartEntities("CPU", $this->getCpuService()->getPartEntities($entity)); // $entity->setPartEntities("CPU", $this->getCpuService()->getPartEntities($entity));
$entity->setPartEntities("RAM", $this->getRamService()->getPartEntities($entity)); // $entity->setPartEntities("RAM", $this->getRamService()->getPartEntities($entity));
$entity->setPartEntities("DISK", $this->getDiskService()->getPartEntities($entity)); // $entity->setPartEntities("DISK", $this->getDiskService()->getPartEntities($entity));
$entities[] = $entity; // $entities[] = $entity;
} // }
return $entities; // return $entities;
} }
} }