|
@@ -35,6 +35,14 @@ public class TbAtrdController {
|
|
|
return this.service.findById(id);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "간선도로 사용여부 조회(신규 아이디 만들때 사용)", response = Integer.class)
|
|
|
+ @GetMapping(value = "/usage/{id}", produces = {"application/json; charset=utf8"})
|
|
|
+ public Integer findUsageId(
|
|
|
+ @ApiParam(name = "id", value = "간선도로 ID", example = "ATR2001", required = true)
|
|
|
+ @PathVariable final String id) {
|
|
|
+ return this.service.findUsageId(id);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "간선도로 정보변경/생성-개별(TB_ATRD)", response = TbAtrdDto.class)
|
|
|
@PostMapping(value = "/{id}", produces = {"application/json; charset=utf8"})
|
|
|
public TbAtrdDto mergeInfo(@PathVariable("id") String id, @RequestBody @Valid final TbAtrdDto.TbAtrdUpdReq req) {
|