|
|
3793e95662
|
fix: 견적 단가 chandj 원본 소스 전환 및 5130 계산 일치 보정
- MigrateBDModelsPrices: chandj 원본 테이블(price_motor, price_angle 등)에서 직접 마이그레이션
- EstimatePriceService: 모터 LIKE 매칭, 제어기 카테고리 분리, 앵글 bracket/main 분리, 샤프트 포맷 정규화
- KyungdongFormulaHandler:
- 검사비 항목 추가 (기본 50,000원)
- 뒷박스 항목 추가 (제어기 섹션)
- 부자재 앵글3T 항목 추가 (calculatePartItems)
- 면적 소수점 2자리 반올림 후 곱셈 (5130 동일)
- model_name에 product_model fallback 추가 (KSS02 단가 정확 조회)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-29 22:00:15 +09:00 |
|
|
|
6c9735581d
|
feat: 견적 단가를 items+item_details+prices 통합 구조로 전환
- EstimatePriceService 생성: items+item_details+prices JOIN 기반 단가 조회
- item_details.product_category/part_type/specification 컬럼 매핑
- items.attributes JSON으로 model_name/finishing_type 추가 차원 처리
- 세션 내 캐시로 중복 조회 방지
- MigrateBDModelsPrices 커맨드: 레거시 BDmodels + kd_price_tables → 85건 마이그레이션
- KyungdongFormulaHandler: KdPriceTable 의존 제거 → EstimatePriceService 사용
- FormulaEvaluatorService: W1 마진 140→160, 면적 공식 W1×(H1+550) 수정
- 가이드레일 H0+250, 케이스/L바/평철 W0+220 (레거시 일치)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
2026-01-29 19:30:46 +09:00 |
|