From c1e34c7eaa4f215f09fd8348d18ef90088aca511 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Wed, 9 Apr 2025 12:31:11 +0900 Subject: [PATCH] dbms_primeidc_init...1 --- extdbms/lib/Controllers/DBMS/ServerController.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/extdbms/lib/Controllers/DBMS/ServerController.php b/extdbms/lib/Controllers/DBMS/ServerController.php index 0654ac2..416a791 100644 --- a/extdbms/lib/Controllers/DBMS/ServerController.php +++ b/extdbms/lib/Controllers/DBMS/ServerController.php @@ -38,22 +38,22 @@ class ServerController extends DBMSController $lineup_explode = explode('.', $entity->getSpec()); $spec = $lineup_explode[0]; $cpu = $entity->getCPUName(); - $this->getServerService()->getModel()->whereLike("server_cpuname", $cpu, "both"); - $this->getServerService()->getModel()->whereLike("server_spec", $spec, "both"); + $this->getServerService()->getModel()->like("server_cpuname", $cpu, "both"); + $this->getServerService()->getModel()->like("server_spec", $spec, "both"); $entity->all = $this->getServerService()->getCount(); $this->getServerService()->getModel()->where("server_use_status", "n"); - $this->getServerService()->getModel()->whereLike("server_cpuname", $cpu, "both"); - $this->getServerService()->getModel()->whereLike("server_spec", $spec, "both"); + $this->getServerService()->getModel()->like("server_cpuname", $cpu, "both"); + $this->getServerService()->getModel()->like("server_spec", $spec, "both"); $entity->use = $this->getServerService()->getCount(); $this->getServerService()->getModel()->where("server_use_status", "y"); - $this->getServerService()->getModel()->whereLike("server_cpuname", $cpu, "both"); - $this->getServerService()->getModel()->whereLike("server_spec", $spec, "both"); + $this->getServerService()->getModel()->like("server_cpuname", $cpu, "both"); + $this->getServerService()->getModel()->like("server_spec", $spec, "both"); $entity->empty = $this->getServerService()->getCount(); $this->getServerService()->getModel()->where("server_use_status", "y"); - $this->getServerService()->getModel()->whereLike("server_cpuname", $cpu, "both"); + $this->getServerService()->getModel()->like("server_cpuname", $cpu, "both"); $this->getServerService()->getModel()->where("server_fomat_date !='NULL'"); $entity->format = $this->getServerService()->getCount(); return $entity;