refactor: [절곡] import 스크립트 + GuiderailModel code/lot_no 분리 적용

- BendingCleanReimport: code→앞2자리, lot_no→전체코드, 중복체크 lot_no 기준
- BendingImportMissing: 동일 적용
- BendingModelImport: code→접두사(GR/SB/BB), lot_no→전체코드
- MigrateBendingItemsToNewTable: 동일 적용
- GuiderailModelResource: lot_no 필드 추가
- BendingModel: fillable에 lot_no 추가
This commit is contained in:
2026-03-21 15:11:51 +09:00
parent d6591acdff
commit 88d6547e69
6 changed files with 12 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ class BendingModel extends Model
protected $table = 'bending_models';
protected $fillable = [
'tenant_id', 'model_type', 'code', 'name', 'legacy_code', 'legacy_num',
'tenant_id', 'model_type', 'code', 'lot_no', 'name', 'legacy_code', 'legacy_num',
'model_name', 'model_UA', 'item_sep', 'finishing_type', 'author', 'remark',
'check_type', 'rail_width', 'rail_length',
'exit_direction', 'front_bottom_width', 'box_width', 'box_height',