moduleTypeItemList storeId 추가
This commit is contained in:
parent
b4b4e83939
commit
8e2f98ff07
@ -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 = "가대 목록 조회한다.")
|
||||
|
||||
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user