dbms_primeidc_init...1

This commit is contained in:
최준흠 2025-04-03 11:50:15 +09:00
parent 7a5ca281e5
commit bfc645820b
2 changed files with 5 additions and 5 deletions

View File

@ -13,12 +13,12 @@ class ClientEntity extends Entity
{ {
parent::__construct($datas); parent::__construct($datas);
} // } //
public function getPhone(string $field = ""): string public function getPhone(string $field = "", string $delimeter = ","): string
{ {
return $field ? $this->$field : "{$this->Client_Phone1},{$this->Client_Phone2}"; return $field ? $this->$field : "{$this->Client_Phone1} {$delimeter} {$this->Client_Phone2}";
} }
public function getEmail(string $field = ""): string public function getEmail(string $field = "", string $delimeter = ","): string
{ {
return $field ? $this->$field : "{$this->Client_EMail1},{$this->Client_EMail2}"; return $field ? $this->$field : "{$this->Client_EMail1} {$delimeter} {$this->Client_EMail2}";
} }
} //Class } //Class

View File

@ -35,7 +35,7 @@ class ServiceService extends CommonService
public function getEntitysByIP(string $value): mixed public function getEntitysByIP(string $value): mixed
{ {
$this->getModel()->where("service_ip", $value); $this->getModel()->where("service_ip", $value);
return $this->getEntity(); return $this->getEntitys();
} }
public function getEntitysByCodes(array $values): array public function getEntitysByCodes(array $values): array
{ {