moduleTypeItemList storeId 추가

This commit is contained in:
hyojun.choi 2025-06-19 09:47:10 +09:00
parent b4b4e83939
commit 8e2f98ff07
2 changed files with 6 additions and 3 deletions

View File

@ -54,7 +54,8 @@ public class MasterController {
public ApiResponse<List<ApiModuleTpResponse>> getModuleTypeItemList(
HttpServletRequest request,
@Parameter(description = "지붕재 코드 목록") @RequestParam("arrRoofMatlCd")
List<String> roofMaterialCd)
List<String> roofMaterialCd,
@Parameter(description = "storeId") @RequestParam("storeId") String storeId)
throws QcastException {
if (roofMaterialCd == null
|| roofMaterialCd.isEmpty()
@ -62,7 +63,8 @@ public class MasterController {
|| roofMaterialCd.stream().anyMatch(s -> s == null || s.trim().isEmpty())) {
throw new QcastException(ErrorCode.INVALID_INPUT_VALUE);
}
return masterService.getModuleTypeItemList(request.getHeader("Referer"), roofMaterialCd);
return masterService.getModuleTypeItemList(
request.getHeader("Referer"), roofMaterialCd, storeId);
}
@Operation(description = "가대 목록 조회한다.")

View File

@ -37,7 +37,8 @@ public interface MasterService {
@GetMapping("/moduleTypeItemList")
public ApiResponse<List<ApiModuleTpResponse>> getModuleTypeItemList(
@RequestHeader("Referer") String referer,
@RequestParam("arrRoofMatlCd") List<String> roofMaterialCd);
@RequestParam("arrRoofMatlCd") List<String> roofMaterialCd,
@RequestParam("storeId") String storeId);
// 가대 목록 조회
@GetMapping("/trestle")