dbms_primeidc_init...1
This commit is contained in:
parent
87ee40a90c
commit
32dc85e32e
@ -40,16 +40,16 @@ class ServiceController extends DBMSController
|
|||||||
if (!array_key_exists('adddb_code', $params)) {
|
if (!array_key_exists('adddb_code', $params)) {
|
||||||
throw new \Exception("adddb_code 값이 정의되지 않았습니다.");
|
throw new \Exception("adddb_code 값이 정의되지 않았습니다.");
|
||||||
}
|
}
|
||||||
$adddb_code = urldecode($params['adddb_code']);
|
$this->adddb_code = urldecode($params['adddb_code']);
|
||||||
//해당 부가서비스의 services_code 목록 가져오기
|
//해당 부가서비스의 services_code 목록 가져오기
|
||||||
//segment의 값이 한글인경우 urldecode가 필요
|
//segment의 값이 한글인경우 urldecode가 필요
|
||||||
$addDbEntities = $this->getAddDbService()->getEntitiesByCode($adddb_code);
|
$addDbEntities = $this->getAddDbService()->getEntitiesByCode($this->adddb_code);
|
||||||
$service_codes = [];
|
$service_codes = [];
|
||||||
foreach ($addDbEntities as $entity) {
|
foreach ($addDbEntities as $entity) {
|
||||||
$service_codes[] = $entity->getServiceCode();
|
$service_codes[] = $entity->getServiceCode();
|
||||||
}
|
}
|
||||||
if (!count($service_codes)) {
|
if (!count($service_codes)) {
|
||||||
throw new \Exception("[{$adddb_code}] 값에 해당하는 부가서비스정보가 존재하지 않습니다.");
|
throw new \Exception("[{$this->adddb_code}] 값에 해당하는 부가서비스정보가 존재하지 않습니다.");
|
||||||
}
|
}
|
||||||
//전체 사용자정보
|
//전체 사용자정보
|
||||||
$this->clients = $this->getClientService()->getEntities();
|
$this->clients = $this->getClientService()->getEntities();
|
||||||
|
|||||||
@ -25,10 +25,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->clients[$entity->getClientCode()]->getTitle() ?></td>
|
<td><?= $this->clients[$entity->getClientCode()]->getTitle() ?></td>
|
||||||
<td><?= $entity->getServerCode() ?></td>
|
<td><?= $entity->getServerCode() ?></td>
|
||||||
<td><?= $entity->entity_ip ?></td>
|
<td><?= $entity->service_ip ?></td>
|
||||||
<td><?= $entity->entity_os ?></td>
|
<td><?= $entity->service_os ?></td>
|
||||||
<td><?= $entity->entity_sw ?></td>
|
<td><?= $entity->service_sw ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
<div align='center'><?= $this->pagination->render("/dbms/service/extra/adddb_code/", ['adddb_code' => $this->ip, 'curPage' => $this->curPage, 'perPage' => $this->perPage]) ?></div>
|
||||||
Loading…
Reference in New Issue
Block a user