fix: [items] 레거시 임포트 커맨드 item_type FG → PT 수정

- BendingProductImportLegacy: 케이스(SB-), 하단마감재(BB-) → PT
- GuiderailImportLegacy: 가이드레일(GR-) → PT
- DB 60건 FG → PT 변경 완료 (구성부품이므로 완제품이 아님)
This commit is contained in:
김보곤
2026-03-18 13:48:45 +09:00
parent 529c48f65e
commit 8f215b235b
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ private function importItems($rows, string $category, int $tenantId, bool $dryRu
'tenant_id' => $tenantId,
'code' => $code,
'name' => $name,
'item_type' => 'FG',
'item_type' => 'PT',
'item_category' => $category,
'unit' => 'SET',
'options' => json_encode($options, JSON_UNESCAPED_UNICODE),

View File

@@ -76,7 +76,7 @@ public function handle(): int
'tenant_id' => $tenantId,
'code' => $code,
'name' => $name,
'item_type' => 'FG',
'item_type' => 'PT',
'item_category' => 'GUIDERAIL_MODEL',
'unit' => 'SET',
'options' => json_encode($options, JSON_UNESCAPED_UNICODE),