dbmsv4 init...5
This commit is contained in:
parent
483a3021b5
commit
970e7da6bc
@ -145,8 +145,7 @@ class ServerService extends EquipmentService
|
||||
if (!$entity instanceof ServerEntity) {
|
||||
throw new RuntimeException(static::class . '->' . __FUNCTION__ . "에서 오류발생:Return Type은 ServerEntity만 가능");
|
||||
}
|
||||
echo var_dump($oldEntity);
|
||||
dd($entity);
|
||||
|
||||
if ($oldEntity->getIP() !== $entity->getIP()) {
|
||||
if (!$oldEntity->getIP()) { //null이거나 공백인경우
|
||||
service('part_ipservice')->detachFromServer($oldEntity);
|
||||
@ -158,6 +157,7 @@ class ServerService extends EquipmentService
|
||||
|
||||
if ($oldEntity->getSwitchInfoUid() !== $entity->getSwitchInfoUid()) {
|
||||
if (!$oldEntity->getSwitchInfoUid()) { //null이거나 공백인경우
|
||||
dd($oldEntity);
|
||||
service('part_switchservice')->detachFromServer($oldEntity);
|
||||
}
|
||||
if ($entity->getSwitchInfoUid() !== null) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user