dbmsv3 init...1
This commit is contained in:
parent
75ee436e08
commit
57207ce806
@ -17,7 +17,6 @@ class ClientProcess implements MigrationProcessInterface
|
||||
{
|
||||
$temps = [];
|
||||
$temps['site'] = 'prime';
|
||||
$temps['code'] = $temps['site'] . "_c" . uniqid();
|
||||
$temps['user_uid'] = 1;
|
||||
$temps['role'] = $row['Client_Reseller'] == 30 ? "reseller" : "user";
|
||||
$temps['name'] = $row['Client_Name'];
|
||||
|
||||
@ -235,7 +235,7 @@ class ServerPartService extends EquipmentService
|
||||
$formDatas['cnt'] = $part["CNT"];
|
||||
$formDatas['extra'] = $part["EXTRA"];
|
||||
$entity = $this->getModel()->create($formDatas);
|
||||
$this->getPartService($entity->getTeyp())->attachToServerPart($entity);
|
||||
$this->getPartService($entity->getType())->attachToServerPart($entity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user