Files
sam-api/database/seeders/data/kyungdong/item_pages.json
권혁성 fa07e5b58a feat: 경동기업 품목 기준 데이터 배포용 시더 구현
- ExportItemMasterDataCommand: tenant_id=287 데이터를 JSON으로 추출
- KyungdongItemMasterSeeder: JSON 기반 DELETE+재삽입 시더
  - Phase 1: item_pages/sections/fields + entity_relationships
  - Phase 2: categories(depth순) + items(배치500건)
  - Phase 3: item_details + prices
  - ID 매핑으로 환경별 충돌 없음, 트랜잭션 안전
- 8개 JSON 데이터 파일 포함 (총 약 1.5MB)
- .gitignore에 시더 데이터 예외 추가

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-04 22:47:03 +09:00

82 lines
2.3 KiB
JSON

[
{
"tenant_id": 287,
"group_id": 1,
"page_name": "소모품 등록",
"item_type": "CS",
"source_table": "items",
"absolute_path": "\/소모품관리\/소모품 등록",
"is_active": 1,
"created_by": 1,
"updated_by": null,
"deleted_by": null,
"created_at": "2026-02-04 22:20:41",
"updated_at": "2026-02-04 22:20:41",
"deleted_at": null,
"_original_id": 1025
},
{
"tenant_id": 287,
"group_id": 1,
"page_name": "원자재 등록",
"item_type": "RM",
"source_table": "items",
"absolute_path": "\/원자재관리\/원자재 등록",
"is_active": 1,
"created_by": 1,
"updated_by": null,
"deleted_by": null,
"created_at": "2026-02-04 22:20:41",
"updated_at": "2026-02-04 22:20:41",
"deleted_at": null,
"_original_id": 1026
},
{
"tenant_id": 287,
"group_id": 1,
"page_name": "부자재 등록",
"item_type": "SM",
"source_table": "items",
"absolute_path": "\/부자재관리\/부자재 등록",
"is_active": 1,
"created_by": 1,
"updated_by": null,
"deleted_by": null,
"created_at": "2026-02-04 22:20:41",
"updated_at": "2026-02-04 22:20:41",
"deleted_at": null,
"_original_id": 1027
},
{
"tenant_id": 287,
"group_id": 1,
"page_name": "부품 등록",
"item_type": "PT",
"source_table": "items",
"absolute_path": "\/부품관리\/부품 등록",
"is_active": 1,
"created_by": 1,
"updated_by": 1,
"deleted_by": null,
"created_at": "2026-02-04 22:20:41",
"updated_at": "2026-02-04 22:20:41",
"deleted_at": null,
"_original_id": 1028
},
{
"tenant_id": 287,
"group_id": 1,
"page_name": "제품 등록",
"item_type": "FG",
"source_table": "items",
"absolute_path": "\/제품관리\/제품 등록",
"is_active": 1,
"created_by": 1,
"updated_by": null,
"deleted_by": null,
"created_at": "2026-02-04 22:20:41",
"updated_at": "2026-02-04 22:20:41",
"deleted_at": null,
"_original_id": 1029
}
]