fix: [items] 레거시 임포트 커맨드 item_type FG → PT 수정
- BendingProductImportLegacy: 케이스(SB-), 하단마감재(BB-) → PT - GuiderailImportLegacy: 가이드레일(GR-) → PT - DB 60건 FG → PT 변경 완료 (구성부품이므로 완제품이 아님)
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user