|
@@ -2,6 +2,7 @@ package com.its.op.controller.its.facility;
|
|
|
|
|
|
import com.its.op.dto.its.common.NewIdLongDto;
|
|
|
import com.its.op.dto.its.common.NewIdStringDto;
|
|
|
+import com.its.op.dto.its.common.UsageCountDto;
|
|
|
import com.its.op.dto.its.facility.FcltWorkStepDto;
|
|
|
import com.its.op.dto.its.facility.TbFcltInfrDto;
|
|
|
import com.its.op.dto.its.facility.UnRegisteredFcltInfrDto;
|
|
@@ -104,4 +105,12 @@ public class TbFcltInfrController {
|
|
|
return this.service.getNewFcltId(type);
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "시설물 ID 사용여부 조회(신규 아이디 만들때 사용)", response = UsageCountDto.class)
|
|
|
+ @GetMapping(value = "/usage/{id}", produces = {"application/json; charset=utf8"})
|
|
|
+ public UsageCountDto findUsageId(
|
|
|
+ @ApiParam(name = "id", value = "간선도로 ID", example = "ATR2001", required = true)
|
|
|
+ @PathVariable final String id) {
|
|
|
+ return this.service.findUsageId(id);
|
|
|
+ }
|
|
|
+
|
|
|
}
|