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:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user