refactor: [절곡] bending_items code를 'BD' 단일값으로 통일
- bending_items.code: prod+spec(CP,RS 등) → 'BD' (절곡품 공통 접두사) - bending_models 패턴(GR/SB/BB)과 동일 레벨로 통일 - import 스크립트 3개 + BendingCodeService.resolveItem 수정 - 마이그레이션 SQL 업데이트 - DB 266건 업데이트 완료
This commit is contained in:
@@ -77,7 +77,7 @@ private function importItem(object $row): BendingItem
|
||||
|
||||
$bi = BendingItem::create([
|
||||
'tenant_id' => $this->tenantId,
|
||||
'code' => mb_substr($code, 0, 2),
|
||||
'code' => 'BD',
|
||||
'lot_no' => $code,
|
||||
'legacy_code' => "CHANDJ-{$row->num}",
|
||||
'legacy_bending_id' => $row->num,
|
||||
|
||||
Reference in New Issue
Block a user