|
|
@@ -40,7 +40,7 @@ public class TbVmsMonitoringController {
|
|
|
|
|
|
// 모니터링 정보 등록/수정
|
|
|
public List<TbVmsMonitoringDto> mergeInfo(
|
|
|
- Integer monitoringType, String name, List<TbVmsMonitoringDto.TbVmsMonitoringUpdReq> req) {
|
|
|
+ Integer monitoringType, String name, TbVmsMonitoringDto.TbVmsMonitoringUpdReq req) {
|
|
|
return this.service.mergeInfo(monitoringType, name, req);
|
|
|
}
|
|
|
|
|
|
@@ -68,11 +68,10 @@ public class TbVmsMonitoringController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "현시 모니터링 정보변경/생성(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
- @PostMapping(value = "/phase/{name}", produces = {"application/json; charset=utf8"})
|
|
|
+ @PostMapping(value = "/phase", produces = {"application/json; charset=utf8"})
|
|
|
public List<TbVmsMonitoringDto> mergeInfoPhase(
|
|
|
- @PathVariable("name") String name,
|
|
|
- @RequestBody final List<TbVmsMonitoringDto.TbVmsMonitoringUpdReq> req) {
|
|
|
- return mergeInfo(1, name, req);
|
|
|
+ @RequestBody final TbVmsMonitoringDto.TbVmsMonitoringUpdReq req) {
|
|
|
+ return mergeInfo(1, req.getMonitoringNm(), req);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "현시 모니터링 정보삭제(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
@@ -101,11 +100,10 @@ public class TbVmsMonitoringController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "시나리오 모니터링 정보변경/생성(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
- @PostMapping(value = "/scenario/{name}", produces = {"application/json; charset=utf8"})
|
|
|
+ @PostMapping(value = "/scenario", produces = {"application/json; charset=utf8"})
|
|
|
public List<TbVmsMonitoringDto> mergeInfoScenario(
|
|
|
- @PathVariable("name") String name,
|
|
|
- @RequestBody final List<TbVmsMonitoringDto.TbVmsMonitoringUpdReq> req) {
|
|
|
- return mergeInfo(2, name, req);
|
|
|
+ @RequestBody final TbVmsMonitoringDto.TbVmsMonitoringUpdReq req) {
|
|
|
+ return mergeInfo(2, req.getMonitoringNm(), req);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "시나리오 모니터링 정보삭제(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
@@ -134,11 +132,10 @@ public class TbVmsMonitoringController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "영상 모니터링 정보변경/생성(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
- @PostMapping(value = "/camera/{name}", produces = {"application/json; charset=utf8"})
|
|
|
+ @PostMapping(value = "/camera", produces = {"application/json; charset=utf8"})
|
|
|
public List<TbVmsMonitoringDto> mergeInfoCamera(
|
|
|
- @PathVariable("name") String name,
|
|
|
- @RequestBody final List<TbVmsMonitoringDto.TbVmsMonitoringUpdReq> req) {
|
|
|
- return mergeInfo(3, name, req);
|
|
|
+ @RequestBody final TbVmsMonitoringDto.TbVmsMonitoringUpdReq req) {
|
|
|
+ return mergeInfo(3, req.getMonitoringNm(), req);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "영상 모니터링 정보삭제(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
@@ -167,11 +164,10 @@ public class TbVmsMonitoringController {
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "모듈 모니터링 정보변경/생성(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|
|
|
- @PostMapping(value = "/module/{name}", produces = {"application/json; charset=utf8"})
|
|
|
+ @PostMapping(value = "/module", produces = {"application/json; charset=utf8"})
|
|
|
public List<TbVmsMonitoringDto> mergeInfoModule(
|
|
|
- @PathVariable("name") String name,
|
|
|
- @RequestBody final List<TbVmsMonitoringDto.TbVmsMonitoringUpdReq> req) {
|
|
|
- return mergeInfo(4, name, req);
|
|
|
+ @RequestBody final TbVmsMonitoringDto.TbVmsMonitoringUpdReq req) {
|
|
|
+ return mergeInfo(4, req.getMonitoringNm(), req);
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "모듈 모니터링 정보삭제(TB_VMS_MONITORING)", response = TbVmsMonitoringDto.class, responseContainer = "ArrayList")
|