refactor: 모듈 타입별 아이템 목록 조회 api의 request parameter 변수명 수정

This commit is contained in:
Daseul Kim 2024-12-11 15:31:56 +09:00
parent b62ec0def1
commit 0b120a6811
2 changed files with 3 additions and 3 deletions

View File

@ -34,9 +34,9 @@ public class MasterController {
} }
@Operation(description = "모듈 타입별 아이템 목록을 조회한다.") @Operation(description = "모듈 타입별 아이템 목록을 조회한다.")
@GetMapping("/getModuleTypeItemList/{roofMaterialCd}") @GetMapping("/getModuleTypeItemList/{roofMatlCd}")
public ApiResponse<ApiModuleTpResponse> getModuleTypeItemList( public ApiResponse<ApiModuleTpResponse> getModuleTypeItemList(
@PathVariable("roofMaterialCd") String roofMaterialCd) { @PathVariable("roofMatlCd") String roofMaterialCd) {
return masterService.getModuleTypeItemList(roofMaterialCd); return masterService.getModuleTypeItemList(roofMaterialCd);
} }

View File

@ -25,7 +25,7 @@ public interface MasterService {
// 모듈 타입별 아이템 목록 조회 // 모듈 타입별 아이템 목록 조회
@GetMapping("/moduleTypeItemList") @GetMapping("/moduleTypeItemList")
public ApiResponse<ApiModuleTpResponse> getModuleTypeItemList( public ApiResponse<ApiModuleTpResponse> getModuleTypeItemList(
@RequestParam("roofMaterialCd") String roofMaterialCd); @RequestParam("roofMatlCd") String roofMaterialCd);
// Q.CAST용 가대 목록 조회 // Q.CAST용 가대 목록 조회
@GetMapping("/trestle") @GetMapping("/trestle")