From 06552ad64eb83e75e22ffe91ea3c7ce90041ca4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Fri, 30 Jan 2026 21:06:55 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=B0=20=EB=A9=B4?= =?UTF-8?q?=EC=A0=81=20=EA=B3=84=EC=82=B0=EC=9D=84=205130=20=EA=B3=B5?= =?UTF-8?q?=EC=8B=9D=EA=B3=BC=20=EB=8F=99=EC=9D=BC=ED=95=98=EA=B2=8C=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 기존: (W0+160) × (H0+350+550) / 1,000,000 (W1×H1 기반) - 수정: W0 × (H0+550) / 1,000,000 (5130 공식과 동일) - 전 모델 10개 조합 검증 완료 (SAM = 5130 정확 일치) KSS01/02, KSE01, KTE01, KWE01, KQTS01, KDSS01 SUS마감/EGI마감 모두 확인 Co-Authored-By: Claude Opus 4.5 --- .../Quote/Handlers/KyungdongFormulaHandler.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/Services/Quote/Handlers/KyungdongFormulaHandler.php b/app/Services/Quote/Handlers/KyungdongFormulaHandler.php index 151daa9..430d57d 100644 --- a/app/Services/Quote/Handlers/KyungdongFormulaHandler.php +++ b/app/Services/Quote/Handlers/KyungdongFormulaHandler.php @@ -229,12 +229,10 @@ private function getMotorCapacityByWeight(float $weight, ?string $bracketInch = */ public function calculateScreenPrice(float $width, float $height): array { - // 면적 계산: W1 × (H1 + 550) / 1,000,000 - // W1 = W0 + 160, H1 = H0 + 350 (레거시 5130 공식) - $W1 = $width + 160; - $H1 = $height + 350; - $calculateHeight = $H1 + 550; - $area = ($W1 * $calculateHeight) / 1000000; + // 면적 계산: W0 × (H0 + 550) / 1,000,000 + // 5130 공식: col10 × (col11 + 550) / 1,000,000 + $calculateHeight = $height + 550; + $area = ($width * $calculateHeight) / 1000000; // 원자재 단가 조회 (실리카/스크린) $unitPrice = $this->getRawMaterialPrice('실리카');