dbmsv4 init...5
This commit is contained in:
parent
26ad454d1d
commit
d73a00bc8c
@ -221,9 +221,6 @@ class ServerPartService extends EquipmentService
|
|||||||
public function detachFromServer(ServerEntity $serverEntity): void
|
public function detachFromServer(ServerEntity $serverEntity): void
|
||||||
{
|
{
|
||||||
foreach ($this->getEntities(['serverinfo_uid' => $serverEntity->getPK(), "billing !=" => PAYMENT['BILLING']['BASE']]) as $entity) {
|
foreach ($this->getEntities(['serverinfo_uid' => $serverEntity->getPK(), "billing !=" => PAYMENT['BILLING']['BASE']]) as $entity) {
|
||||||
if (!$entity instanceof ServerPartEntity) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
//파트정보 해지
|
//파트정보 해지
|
||||||
$this->getPartService($entity->getType())->detachFromServerPart($entity);
|
$this->getPartService($entity->getType())->detachFromServerPart($entity);
|
||||||
//서버파트 해지
|
//서버파트 해지
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user