|
@@ -1,6 +1,5 @@
|
|
|
package com.its.op.controller.its.database;
|
|
|
|
|
|
-import com.its.op.dto.its.atrd.TbAtrdDto;
|
|
|
import com.its.op.dto.its.common.NewIdLongDto;
|
|
|
import com.its.op.dto.its.common.UsageCountDto;
|
|
|
import com.its.op.dto.its.link.TbLinkParaStupDto;
|
|
@@ -57,10 +56,25 @@ public class TbLinkParaStupController {
|
|
|
return this.service.findUsageId(paramId);
|
|
|
}
|
|
|
|
|
|
- @ApiOperation(value = "파라미터 정보삭제-개별(TB_LINK_PARA_STUP)", response = TbAtrdDto.class)
|
|
|
- @DeleteMapping(value = "/{paramId}", produces = {"application/json; charset=utf8"})
|
|
|
- public TbLinkParaStupDto deleteDataById(@PathVariable("paramId") Long paramId) {
|
|
|
- return this.service.deleteDataById(paramId);
|
|
|
+// @ApiOperation(value = "파라미터 정보삭제-개별(TB_LINK_PARA_STUP)", response = TbAtrdDto.class)
|
|
|
+// @DeleteMapping(value = "/{paramId}", produces = {"application/json; charset=utf8"})
|
|
|
+// public TbLinkParaStupDto deleteDataById(@PathVariable("paramId") Long paramId) {
|
|
|
+// return this.service.deleteDataById(paramId);
|
|
|
+// }
|
|
|
+
|
|
|
+ @ApiOperation(value = "선택구간 파라미터 적용", response = TbLinkParaStupDto.class)
|
|
|
+ @PostMapping(value = "/apply/select/{paramId}/{ids}", produces = {"application/json; charset=utf8"})
|
|
|
+ public TbLinkParaStupDto applyParamSelect(
|
|
|
+ @PathVariable final Long paramId,
|
|
|
+ @PathVariable final List<Long> ids) {
|
|
|
+ return this.service.applyParamSelect(paramId, ids);
|
|
|
+ }
|
|
|
+
|
|
|
+ @ApiOperation(value = "전체구간 파라미터 적용", response = TbLinkParaStupDto.class)
|
|
|
+ @PostMapping(value = "/apply/all/{paramId}", produces = {"application/json; charset=utf8"})
|
|
|
+ public TbLinkParaStupDto applyParamAll(
|
|
|
+ @PathVariable final Long paramId) {
|
|
|
+ return this.service.applyParamAll(paramId);
|
|
|
}
|
|
|
|
|
|
}
|