배치 API 수정
This commit is contained in:
parent
6baddf83c3
commit
b7f3478485
@ -14,9 +14,7 @@ import com.interplug.qcast.config.Exception.QcastException;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import org.springframework.cloud.openfeign.SpringQueryMap;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
@ -45,20 +43,20 @@ public class MasterController {
|
||||
}
|
||||
|
||||
@Operation(description = "가대 목록 조회")
|
||||
@PostMapping("/getTrestleList")
|
||||
public ApiResponse<ApiTrestleResponse> getTrestleList(@SpringQueryMap ApiTrestleRequest params) {
|
||||
@GetMapping("/getTrestleList")
|
||||
public ApiResponse<ApiTrestleResponse> getTrestleList(@RequestParam ApiTrestleRequest params) {
|
||||
return masterService.getTrestleList(params);
|
||||
}
|
||||
|
||||
@Operation(description = "시공법 목록 조회")
|
||||
@PostMapping("/getConstructionList")
|
||||
public ApiResponse<ApiConstructionResponse> getConstructionList(@SpringQueryMap ApiConstructionRequest params) {
|
||||
@GetMapping("/getConstructionList")
|
||||
public ApiResponse<ApiConstructionResponse> getConstructionList(@RequestParam ApiConstructionRequest params) {
|
||||
return masterService.getConstructionList(params);
|
||||
}
|
||||
|
||||
@Operation(description = "가대 상세 조회")
|
||||
@PostMapping("/getTrestleDetailList")
|
||||
public ApiResponse<ApiTrestleDetailResponse> getTrestleDetailList(@SpringQueryMap ApiTrestleDetailRequest params) {
|
||||
@GetMapping("/getTrestleDetailList")
|
||||
public ApiResponse<ApiTrestleDetailResponse> getTrestleDetailList(@RequestParam ApiTrestleDetailRequest params) {
|
||||
return masterService.getTrestleDetailList(params);
|
||||
}
|
||||
}
|
||||
|
||||
@ -10,7 +10,6 @@ import com.interplug.qcast.biz.master.dto.ApiTrestleDetailResponse;
|
||||
import com.interplug.qcast.biz.master.dto.ApiTrestleRequest;
|
||||
import com.interplug.qcast.biz.master.dto.ApiTrestleResponse;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.cloud.openfeign.SpringQueryMap;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
@ -29,13 +28,13 @@ public interface MasterService {
|
||||
|
||||
// 가대 목록 조회
|
||||
@GetMapping("/trestle")
|
||||
public ApiResponse<ApiTrestleResponse> getTrestleList(@SpringQueryMap ApiTrestleRequest params);
|
||||
public ApiResponse<ApiTrestleResponse> getTrestleList(@RequestParam ApiTrestleRequest params);
|
||||
|
||||
// 시공법 목록 조회
|
||||
@GetMapping("/construction")
|
||||
public ApiResponse<ApiConstructionResponse> getConstructionList(@SpringQueryMap ApiConstructionRequest params);
|
||||
public ApiResponse<ApiConstructionResponse> getConstructionList(@RequestParam ApiConstructionRequest params);
|
||||
|
||||
// 가대 상세 조회
|
||||
@GetMapping("/trestle/detail")
|
||||
public ApiResponse<ApiTrestleDetailResponse> getTrestleDetailList(@SpringQueryMap ApiTrestleDetailRequest params);
|
||||
public ApiResponse<ApiTrestleDetailResponse> getTrestleDetailList(@RequestParam ApiTrestleDetailRequest params);
|
||||
}
|
||||
|
||||
@ -48,4 +48,7 @@ public class ApiTrestleDetailRequest {
|
||||
/** Mix Meterial No */
|
||||
private int mixMatlNo;
|
||||
|
||||
/** Roof Pitch */
|
||||
private int roofPitch;
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user