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