refactor: [production] 셔터박스 prefix — isStandard 파라미터 제거

- CF/CL/CP/CB 품목이 모든 길이에 등록되어 boxSize 무관하게 적용
- resolveShutterBoxPrefix()에서 불필요한 isStandard 분기 제거

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-05 11:01:04 +09:00
parent 1f7f45ee60
commit d4f21f06d6
2 changed files with 7 additions and 10 deletions

View File

@@ -189,16 +189,14 @@ public function resolveBottomBarPrefix(string $partType, string $productCode, st
/**
* 셔터박스 세부품목의 prefix 결정
*
* CF/CL/CP/CB 품목은 모든 길이에 등록되어 있으므로 boxSize 무관하게 적용.
* top_cover, fin_cover는 전용 품목 없이 XX(하부BASE/상부/마구리) 공용.
*
* @param string $partType 'front', 'lintel', 'inspection', 'rear_corner', 'top_cover', 'fin_cover'
* @param bool $isStandardSize 500*380인지
* @return string prefix
*/
public function resolveShutterBoxPrefix(string $partType, bool $isStandardSize): string
public function resolveShutterBoxPrefix(string $partType): string
{
if (! $isStandardSize) {
return 'XX';
}
return self::SHUTTER_STANDARD[$partType] ?? 'XX';
}