- 수입검사 양식 전환 계획 문서 추가 (plans/incoming-inspection-templates-plan.md) - SUS 양식(id:19) 생성 변경 이력 문서 추가 (changes/20260205_sus_inspection_template.md) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2.5 KiB
2.5 KiB
변경 내용 요약
날짜: 2026-02-05 작업자: Claude Code 관련 계획: docs/plans/incoming-inspection-templates-plan.md
📋 변경 개요
5130 레거시 수입검사 양식 전환 작업의 일환으로 SUS 절곡판 수입검사 양식을 생성하고 품목을 연결함.
📁 수정된 파일/데이터
데이터베이스 변경
document_templates- 1건 INSERT (id:19)document_template_section_fields- 8건 INSERT (template_id:19)
문서 변경
docs/plans/incoming-inspection-templates-plan.md- 진행 상태 업데이트
🔧 상세 변경 사항
1. SUS 절곡판 수입검사 양식 생성 (id:19)
생성된 데이터:
{
"id": 19,
"tenant_id": 287,
"name": "SUS 절곡판 수입검사",
"category": "수입검사",
"title": "수입검사 성적서",
"company_name": "경동산업",
"footer_remark_label": "비고 / 부적합 내용",
"footer_judgement_label": "종합판정",
"footer_judgement_options": ["적합", "부적합"],
"is_active": 1,
"linked_item_ids": [14172, 14173, 14174, 14175, 14176, 14177, 14178, 14179, 14180, 14181, 14182]
}
2. 필드 구조 (EGI 양식에서 복사)
| sort_order | field_key | label | field_type |
|---|---|---|---|
| 0 | category | 구분 | text |
| 1 | item | 검사항목 | text |
| 2 | standard | 검사 기준/범위 | text_with_criteria |
| 3 | tolerance | 공차/범위 | json_tolerance |
| 4 | method | 검사방식 | select_api |
| 5 | measurement_type | 측정유형 | select |
| 6 | frequency | 검사주기 | composite_frequency |
| 7 | regulation | 관련규정 | text |
3. 연결된 품목 (11건)
| ID | 품목명 |
|---|---|
| 14172 | sus1.212192438 |
| 14173 | sus1.212193000 |
| 14174 | sus1.2t12194000 |
| 14175 | sus1.512192438 |
| 14176 | sus1.512193000 |
| 14177 | sus1.512194000 |
| 14178 | sus1.21219c |
| 14179 | sus1.512192500 |
| 14180 | sus1.212194230 |
| 14181 | sus1.212193000 P/L |
| 14182 | sus1.212192500 |
✅ 테스트 체크리스트
- 양식 생성 확인 (id:19)
- 필드 8개 복사 확인
- 품목 11건 연결 확인
- MNG UI에서 양식 편집 테스트
- React resolve API 테스트
⚠️ 후속 작업
- EGI 양식(id:18)에 품목 연결 필요
- Phase 1 나머지 양식 생성 (앵글 등)
- MNG UI에서 검사항목 데이터 입력 필요
🔗 관련 문서
- 계획 문서:
docs/plans/incoming-inspection-templates-plan.md - 레거시 참조:
5130/instock/i_SUSplate.php