dbms_primeidc init...1
This commit is contained in:
parent
bfe0dd87c7
commit
940de52eb6
@ -243,7 +243,13 @@ class SiteController extends CommonController
|
|||||||
if (!count($service_codes)) {
|
if (!count($service_codes)) {
|
||||||
throw new \Exception("[{$adddb_code}] 값에 해당하는 부가서비스정보가 존재하지 않습니다.");
|
throw new \Exception("[{$adddb_code}] 값에 해당하는 부가서비스정보가 존재하지 않습니다.");
|
||||||
}
|
}
|
||||||
$this->services = $this->getService()->getExtras($service_codes);
|
$clients = [];
|
||||||
|
$services = $this->getService()->getExtras($service_codes);
|
||||||
|
foreach ($services as $service) {
|
||||||
|
$clients[$service->getPK()] = $this->getClientService()->getEntitByCode($service->getClientCode());
|
||||||
|
}
|
||||||
|
$this->services = $services;
|
||||||
|
$this->clients = $clients;
|
||||||
return $this->render(__FUNCTION__);
|
return $this->render(__FUNCTION__);
|
||||||
}
|
}
|
||||||
} //Class
|
} //Class
|
||||||
|
|||||||
@ -18,6 +18,10 @@ class ServiceEntity extends Entity
|
|||||||
{
|
{
|
||||||
return $this->service_code;
|
return $this->service_code;
|
||||||
}
|
}
|
||||||
|
public function getServerCode(): string
|
||||||
|
{
|
||||||
|
return $this->server_code;
|
||||||
|
}
|
||||||
public function getMemberCode(): string
|
public function getMemberCode(): string
|
||||||
{
|
{
|
||||||
return $this->service_manager;
|
return $this->service_manager;
|
||||||
|
|||||||
@ -21,14 +21,14 @@
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
<?php foreach ($this->results as $result) {?>
|
<?php foreach ($this->services as $service) { ?>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?php echo $result->Client_Name ?></td>
|
<td><?= $this->clients[$service->getPK()]->getTitle() ?></td>
|
||||||
<td><?php echo $result->server_code ?></td>
|
<td><?= $result->getServerCode() ?></td>
|
||||||
<td><?php echo $result->service_ip ?></td>
|
<td><?= $result->service_ip ?></td>
|
||||||
<td><?php echo $result->service_os ?></td>
|
<td><?= $result->service_os ?></td>
|
||||||
<td><?php echo $result->service_sw ?></td>
|
<td><?= $result->service_sw ?></td>
|
||||||
</tr>
|
</tr>
|
||||||
<?php }?>
|
<?php } ?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
Loading…
Reference in New Issue
Block a user