dbms_primeidc_init...1
This commit is contained in:
parent
a6a34d47bb
commit
ce6e979977
@ -27,7 +27,7 @@ class AddDbService extends CommonService
|
|||||||
{
|
{
|
||||||
return Entity::class;
|
return Entity::class;
|
||||||
}
|
}
|
||||||
public function getEntityByCode(string $key): Entity|null
|
public function getEntityByCode(string $key): Entity|null|false
|
||||||
{
|
{
|
||||||
$this->getModel()->where('addDB_code', $key);
|
$this->getModel()->where('addDB_code', $key);
|
||||||
return $this->getEntity();
|
return $this->getEntity();
|
||||||
|
|||||||
@ -27,7 +27,7 @@ class ClientService extends CommonService
|
|||||||
{
|
{
|
||||||
return Entity::class;
|
return Entity::class;
|
||||||
}
|
}
|
||||||
public function getEntityByCode(string $key): Entity|null
|
public function getEntityByCode(string $key): Entity|null|false
|
||||||
{
|
{
|
||||||
$this->getModel()->where('Client_Code', $key);
|
$this->getModel()->where('Client_Code', $key);
|
||||||
return $this->getEntity();
|
return $this->getEntity();
|
||||||
|
|||||||
@ -27,7 +27,7 @@ class ServiceService extends CommonService
|
|||||||
{
|
{
|
||||||
return Entity::class;
|
return Entity::class;
|
||||||
}
|
}
|
||||||
public function getEntityByCode(string $key): Entity|null
|
public function getEntityByCode(string $key): Entity|null|false
|
||||||
{
|
{
|
||||||
$this->getModel()->where('service_code', $key);
|
$this->getModel()->where('service_code', $key);
|
||||||
return $this->getEntity();
|
return $this->getEntity();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user