From 57207ce80695a90866b744b1433be8e43e05fda5 Mon Sep 17 00:00:00 2001 From: "choi.jh" Date: Mon, 10 Nov 2025 14:16:28 +0900 Subject: [PATCH] dbmsv3 init...1 --- app/Libraries/DBMigration/Process/ClientProcess.php | 1 - app/Services/Equipment/ServerPartService.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Libraries/DBMigration/Process/ClientProcess.php b/app/Libraries/DBMigration/Process/ClientProcess.php index c89c411..25639cf 100644 --- a/app/Libraries/DBMigration/Process/ClientProcess.php +++ b/app/Libraries/DBMigration/Process/ClientProcess.php @@ -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']; diff --git a/app/Services/Equipment/ServerPartService.php b/app/Services/Equipment/ServerPartService.php index 4a8ab2f..8a18867 100644 --- a/app/Services/Equipment/ServerPartService.php +++ b/app/Services/Equipment/ServerPartService.php @@ -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); } } }