dbmsv4 init...1

This commit is contained in:
최준흠 2025-11-19 11:39:59 +09:00
parent 3542458ac7
commit 063757a672
33 changed files with 145 additions and 129 deletions

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class AccountController extends CustomerController
{
@ -85,7 +86,7 @@ class AccountController extends CustomerController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -101,7 +102,7 @@ class AccountController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -116,7 +117,7 @@ class AccountController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -131,7 +132,7 @@ class AccountController extends CustomerController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -145,7 +146,7 @@ class AccountController extends CustomerController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class ClientController extends CustomerController
{
@ -94,7 +95,7 @@ class ClientController extends CustomerController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -110,7 +111,7 @@ class ClientController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -125,7 +126,7 @@ class ClientController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -140,7 +141,7 @@ class ClientController extends CustomerController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -154,7 +155,7 @@ class ClientController extends CustomerController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class CouponController extends CustomerController
{
@ -81,7 +82,7 @@ class CouponController extends CustomerController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -97,7 +98,7 @@ class CouponController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -112,7 +113,7 @@ class CouponController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -127,7 +128,7 @@ class CouponController extends CustomerController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -141,7 +142,7 @@ class CouponController extends CustomerController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class PointController extends CustomerController
{
@ -81,7 +82,7 @@ class PointController extends CustomerController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -97,7 +98,7 @@ class PointController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -112,7 +113,7 @@ class PointController extends CustomerController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -127,7 +128,7 @@ class PointController extends CustomerController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -141,7 +142,7 @@ class PointController extends CustomerController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class LineController extends EquipmentController
{
@ -82,7 +83,7 @@ class LineController extends EquipmentController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -98,7 +99,7 @@ class LineController extends EquipmentController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -113,7 +114,7 @@ class LineController extends EquipmentController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -128,7 +129,7 @@ class LineController extends EquipmentController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -142,7 +143,7 @@ class LineController extends EquipmentController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class ServerController extends EquipmentController
{
@ -86,7 +87,7 @@ class ServerController extends EquipmentController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -102,7 +103,7 @@ class ServerController extends EquipmentController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -117,7 +118,7 @@ class ServerController extends EquipmentController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -132,7 +133,7 @@ class ServerController extends EquipmentController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -146,7 +147,7 @@ class ServerController extends EquipmentController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class ServerPartController extends EquipmentController
{
@ -87,7 +88,7 @@ class ServerPartController extends EquipmentController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -103,7 +104,7 @@ class ServerPartController extends EquipmentController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -118,7 +119,7 @@ class ServerPartController extends EquipmentController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -133,7 +134,7 @@ class ServerPartController extends EquipmentController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -147,7 +148,7 @@ class ServerPartController extends EquipmentController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class MylogController extends AdminController
{
@ -67,7 +68,7 @@ class MylogController extends AdminController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof MylogEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -83,7 +84,7 @@ class MylogController extends AdminController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof MylogEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -98,7 +99,7 @@ class MylogController extends AdminController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof MylogEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -113,7 +114,7 @@ class MylogController extends AdminController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof MylogEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -127,7 +128,7 @@ class MylogController extends AdminController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof MylogEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 MylogEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class CPUController extends PartController
{
@ -79,7 +80,7 @@ class CPUController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -95,7 +96,7 @@ class CPUController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -110,7 +111,7 @@ class CPUController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -125,7 +126,7 @@ class CPUController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -139,7 +140,7 @@ class CPUController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class CSController extends PartController
{
@ -106,7 +107,7 @@ class CSController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -122,7 +123,7 @@ class CSController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -137,7 +138,7 @@ class CSController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -152,7 +153,7 @@ class CSController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -166,7 +167,7 @@ class CSController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class DISKController extends PartController
{
@ -80,7 +81,7 @@ class DISKController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -96,7 +97,7 @@ class DISKController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -111,7 +112,7 @@ class DISKController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -126,7 +127,7 @@ class DISKController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -140,7 +141,7 @@ class DISKController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class IPController extends PartController
{
@ -97,7 +98,7 @@ class IPController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -113,7 +114,7 @@ class IPController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -128,7 +129,7 @@ class IPController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -143,7 +144,7 @@ class IPController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -157,7 +158,7 @@ class IPController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class RAMController extends PartController
{
@ -79,7 +80,7 @@ class RAMController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -95,7 +96,7 @@ class RAMController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -110,7 +111,7 @@ class RAMController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -125,7 +126,7 @@ class RAMController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -139,7 +140,7 @@ class RAMController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class SOFTWAREController extends PartController
{
@ -79,7 +80,7 @@ class SOFTWAREController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -95,7 +96,7 @@ class SOFTWAREController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -110,7 +111,7 @@ class SOFTWAREController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -125,7 +126,7 @@ class SOFTWAREController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -139,7 +140,7 @@ class SOFTWAREController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class SWITCHController extends PartController
{
@ -100,7 +101,7 @@ class SWITCHController extends PartController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -116,7 +117,7 @@ class SWITCHController extends PartController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -131,7 +132,7 @@ class SWITCHController extends PartController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -146,7 +147,7 @@ class SWITCHController extends PartController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -160,7 +161,7 @@ class SWITCHController extends PartController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class PaymentController extends AdminController
{
@ -85,7 +86,7 @@ class PaymentController extends AdminController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof PaymentEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -101,7 +102,7 @@ class PaymentController extends AdminController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof PaymentEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -116,7 +117,7 @@ class PaymentController extends AdminController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof PaymentEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -131,7 +132,7 @@ class PaymentController extends AdminController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof PaymentEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -145,7 +146,7 @@ class PaymentController extends AdminController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof PaymentEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PaymentEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -9,6 +9,7 @@ use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;
use CodeIgniter\Validation\Exceptions\ValidationException;
use Psr\Log\LoggerInterface;
use RuntimeException;
class UserController extends AdminController
{
@ -81,7 +82,7 @@ class UserController extends AdminController
$this->action_init_process($action);
$entity = $this->create_process();
if (!$entity instanceof UserEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
}
return $this->create_result_process($entity);
} catch (ValidationException $e) {
@ -97,7 +98,7 @@ class UserController extends AdminController
$this->action_init_process($action);
$entity = $this->modify_form_process($uid);
if (!$entity instanceof UserEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_form_result_process($action);
@ -112,7 +113,7 @@ class UserController extends AdminController
$this->action_init_process($action);
$entity = $this->modify_process($uid);
if (!$entity instanceof UserEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->modify_result_process($entity);
@ -127,7 +128,7 @@ class UserController extends AdminController
try {
$entity = $this->delete_process($uid);
if (!$entity instanceof UserEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
}
return $this->delete_result_process($entity);
} catch (\Exception $e) {
@ -141,7 +142,7 @@ class UserController extends AdminController
$this->action_init_process($action);
$entity = $this->view_process($uid);
if (!$entity instanceof UserEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 UserEntity만 가능");
}
$this->addViewDatas('entity', $entity);
return $this->view_result_process($action);

View File

@ -10,5 +10,4 @@ abstract class AuthDTO extends CommonDTO
{
parent::__construct();
}
abstract public function toArray();
}

View File

@ -18,7 +18,7 @@ abstract class CommonDTO
"Undefined property or method: " . static::class . "::{$name}"
);
}
public function toArray(): array
final public function toArray(): array
{
// $this가 가진 모든 public 프로퍼티와 그 값을 배열로 반환합니다.
return get_object_vars($this);

View File

@ -66,7 +66,7 @@ class AccountService extends CustomerService
}
$entity = parent::create($dto);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class AccountService extends CustomerService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class AccountService extends CustomerService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof AccountEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 AccountEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class ClientService extends CustomerService
}
$entity = parent::create($dto);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class ClientService extends CustomerService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class ClientService extends CustomerService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof ClientEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ClientEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class CouponService extends CustomerService
}
$entity = parent::create($dto);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class CouponService extends CustomerService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class CouponService extends CustomerService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof CouponEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CouponEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class PointService extends CustomerService
}
$entity = parent::create($dto);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class PointService extends CustomerService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class PointService extends CustomerService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof PointEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 PointEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class LineService extends EquipmentService
}
$entity = parent::create($dto);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class LineService extends EquipmentService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class LineService extends EquipmentService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof LineEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 LineEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class ServerPartService extends EquipmentService
}
$entity = parent::create($dto);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class ServerPartService extends EquipmentService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class ServerPartService extends EquipmentService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof ServerPartEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerPartEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class ServerService extends EquipmentService
}
$entity = parent::create($dto);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class ServerService extends EquipmentService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class ServerService extends EquipmentService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof ServerEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class CPUService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class CPUService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class CPUService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof CPUEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CPUEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class CSService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class CSService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class CSService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof CSEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 CSEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class DISKService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class DISKService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class DISKService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof DISKEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 DISKEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class IPService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class IPService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class IPService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof IPEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 IPEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class RAMService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class RAMService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class RAMService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof RAMEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 RAMEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class SOFTWAREService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class SOFTWAREService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class SOFTWAREService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof SOFTWAREEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SOFTWAREEntity만 가능");
}
return $entity;
}

View File

@ -66,7 +66,7 @@ class SWITCHService extends PartService
}
$entity = parent::create($dto);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
return $entity;
}
@ -74,7 +74,7 @@ class SWITCHService extends PartService
{
$entity = parent::modify_process($uid, $formDatas);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
return $entity;
}
@ -85,7 +85,7 @@ class SWITCHService extends PartService
}
$entity = parent::modify($uid, $dto);
if (!$entity instanceof SWITCHEntity) {
throw new \RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
throw new RuntimeException(__METHOD__ . "에서 오류발생:Return Type은 SWITCHEntity만 가능");
}
return $entity;
}