dbmsv3 init...1

This commit is contained in:
choi.jh 2025-11-10 14:16:28 +09:00
parent 75ee436e08
commit 57207ce806
2 changed files with 1 additions and 2 deletions

View File

@ -17,7 +17,6 @@ class ClientProcess implements MigrationProcessInterface
{ {
$temps = []; $temps = [];
$temps['site'] = 'prime'; $temps['site'] = 'prime';
$temps['code'] = $temps['site'] . "_c" . uniqid();
$temps['user_uid'] = 1; $temps['user_uid'] = 1;
$temps['role'] = $row['Client_Reseller'] == 30 ? "reseller" : "user"; $temps['role'] = $row['Client_Reseller'] == 30 ? "reseller" : "user";
$temps['name'] = $row['Client_Name']; $temps['name'] = $row['Client_Name'];

View File

@ -235,7 +235,7 @@ class ServerPartService extends EquipmentService
$formDatas['cnt'] = $part["CNT"]; $formDatas['cnt'] = $part["CNT"];
$formDatas['extra'] = $part["EXTRA"]; $formDatas['extra'] = $part["EXTRA"];
$entity = $this->getModel()->create($formDatas); $entity = $this->getModel()->create($formDatas);
$this->getPartService($entity->getTeyp())->attachToServerPart($entity); $this->getPartService($entity->getType())->attachToServerPart($entity);
} }
} }
} }