dbmsv2 init...1

This commit is contained in:
choi.jh 2025-09-05 18:13:06 +09:00
parent 993d64627a
commit 9c24acce0a
4 changed files with 16 additions and 19 deletions

View File

@ -4,8 +4,8 @@
"settings": {
"width": 3000,
"height": 3000,
"scrollTop": -1984.7976,
"scrollLeft": -1393,
"scrollTop": -1058.7976,
"scrollLeft": -797,
"zoomLevel": 0.91,
"show": 511,
"database": 4,

File diff suppressed because one or more lines are too long

View File

@ -11,15 +11,12 @@ class ServiceEntity extends CustomerEntity
const PK = ServiceModel::PK;
const TITLE = ServiceModel::TITLE;
const DEFAULT_STATUS = STATUS['NORMAL'];
public function setServerEntity(ServerEntity|null $entity): void
public function setServerEntity(ServerEntity $entity): void
{
$this->attributes['serverEntity'] = $entity;
}
public function getServerEntity(): ServerEntity|null
public function getServerEntity(): ServerEntity
{
if (!array_key_exists('serverEntity', $this->attributes)) {
return null;
}
return $this->attributes['serverEntity'];
}
public function getCode(): string|null

View File

@ -192,7 +192,7 @@ class ServiceService extends CustomerService
$serverFormDatas["serviceinfo_uid"] = null;
$serverFormDatas["status"] = STATUS['AVAIABLE'];
$serverEntity = $this->getServerService()->modify($serverEntity, $serverFormDatas);
$entity->setServerEntity(null);
// $entity->setServerEntity(null);
}
return $entity;
}