dbms_init...1
This commit is contained in:
parent
dde9f57a14
commit
8477840b00
@ -78,14 +78,14 @@ class ServiceController extends CustomerController
|
||||
];
|
||||
$this->init('index', $fields);
|
||||
// $this->modal_type = 'modal_fetch_v2'; //기본은 modal_iframe임
|
||||
// return parent::index_process();
|
||||
$entities = [];
|
||||
foreach (parent::index_process() as $entity) {
|
||||
$entity->setPartEntities("CPU", $this->getCpuService()->getPartEntities($entity));
|
||||
$entity->setPartEntities("RAM", $this->getRamService()->getPartEntities($entity));
|
||||
$entity->setPartEntities("DISK", $this->getDiskService()->getPartEntities($entity));
|
||||
$entities[] = $entity;
|
||||
}
|
||||
return $entities;
|
||||
return parent::index_process();
|
||||
// $entities = [];
|
||||
// foreach (parent::index_process() as $entity) {
|
||||
// $entity->setPartEntities("CPU", $this->getCpuService()->getPartEntities($entity));
|
||||
// $entity->setPartEntities("RAM", $this->getRamService()->getPartEntities($entity));
|
||||
// $entity->setPartEntities("DISK", $this->getDiskService()->getPartEntities($entity));
|
||||
// $entities[] = $entity;
|
||||
// }
|
||||
// return $entities;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user