|
|
@ -145,9 +145,6 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
@RequestMapping(value = "/getVideoMonitor", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/getVideoMonitor", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@ApiOperationSupport(order = 50) |
|
|
|
@ApiOperationSupport(order = 50) |
|
|
|
@ApiOperation(value = "获取视频监测列表", notes = "获取视频监测列表") |
|
|
|
@ApiOperation(value = "获取视频监测列表", notes = "获取视频监测列表") |
|
|
|
@OperationAnnotation(moduleName = "视频监控",title = "视频监控",operatorType = OperatorType.APPSYSTEMS,businessType = |
|
|
|
|
|
|
|
BusinessType.GENCODE, |
|
|
|
|
|
|
|
action = "获取视频监测列表") |
|
|
|
|
|
|
|
public R<List<VideoMonitorVO>> getVideoMonitor() { |
|
|
|
public R<List<VideoMonitorVO>> getVideoMonitor() { |
|
|
|
List<VideoMonitorVO> result = stationVideoTypeService.getVideoMonitor(); |
|
|
|
List<VideoMonitorVO> result = stationVideoTypeService.getVideoMonitor(); |
|
|
|
return R.data(result); |
|
|
|
return R.data(result); |
|
|
@ -156,17 +153,17 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/getById", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@ApiOperationSupport(order = 60) |
|
|
|
@ApiOperationSupport(order = 60) |
|
|
|
@OperationAnnotation(moduleName = "视频监控",title = "视频监控",operatorType = OperatorType.APPSYSTEMS,businessType = BusinessType.GENCODE, |
|
|
|
|
|
|
|
action = "获取视频监测对象") |
|
|
|
|
|
|
|
@ApiOperation(value = "获取视频监测对象", notes = "获取视频监测对象") |
|
|
|
@ApiOperation(value = "获取视频监测对象", notes = "获取视频监测对象") |
|
|
|
public R<StationVideoTypeEntity> getById(@RequestParam Long id, @RequestParam int streamType) { |
|
|
|
public R<StationVideoTypeEntity> getById(@RequestParam Long id, @RequestParam int streamType) { |
|
|
|
return R.data(stationVideoTypeService.getById(id, streamType)); |
|
|
|
return R.data(stationVideoTypeService.getById(id, streamType)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@RequestMapping(value = "/getHikVideo", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/getHikVideo", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
public R<String> getHikVideo() { |
|
|
|
public R<String> getHikVideo() { |
|
|
|
return R.data(stationVideoTypeService.getHikVideo()); |
|
|
|
return R.data(stationVideoTypeService.getHikVideo()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@RequestMapping(value = "/getStationsByVideo", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/getStationsByVideo", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@ApiOperationSupport(order = 70) |
|
|
|
@ApiOperationSupport(order = 70) |
|
|
@ -174,6 +171,7 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<List<StationEntity>> getStationsByVideo() { |
|
|
|
public R<List<StationEntity>> getStationsByVideo() { |
|
|
|
return R.data(stationVideoTypeService.getStationsByVideo()); |
|
|
|
return R.data(stationVideoTypeService.getStationsByVideo()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@GetMapping("/getStationVideoOrderBySort") |
|
|
|
@GetMapping("/getStationVideoOrderBySort") |
|
|
|
@ApiOperationSupport(order = 80) |
|
|
|
@ApiOperationSupport(order = 80) |
|
|
@ -181,6 +179,7 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<IPage> getStationVideoOrderBySort(StationVideoTypeDTO stationVideoTypeDTO, Query query) { |
|
|
|
public R<IPage> getStationVideoOrderBySort(StationVideoTypeDTO stationVideoTypeDTO, Query query) { |
|
|
|
return R.data(stationVideoTypeService.getStationVideoOrderBySort(stationVideoTypeDTO, query)); |
|
|
|
return R.data(stationVideoTypeService.getStationVideoOrderBySort(stationVideoTypeDTO, query)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@RequestMapping(value = "/getVideoByIdsAndType", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/getVideoByIdsAndType", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@ApiOperationSupport(order = 90) |
|
|
|
@ApiOperationSupport(order = 90) |
|
|
@ -188,6 +187,7 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<List<StationVideoTypeEntity>> getVideoByIdsAndType(@RequestParam String ids, @RequestParam String type) { |
|
|
|
public R<List<StationVideoTypeEntity>> getVideoByIdsAndType(@RequestParam String ids, @RequestParam String type) { |
|
|
|
return R.data(stationVideoTypeService.getVideoByIdsAndType(ids, type)); |
|
|
|
return R.data(stationVideoTypeService.getVideoByIdsAndType(ids, type)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@GetMapping("/getVideoByIds") |
|
|
|
@GetMapping("/getVideoByIds") |
|
|
|
@ApiOperationSupport(order = 100) |
|
|
|
@ApiOperationSupport(order = 100) |
|
|
@ -195,11 +195,13 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<List<StationVideoTypeEntity>> getVideoByIds(@RequestParam String ids, @RequestParam String randomCode) { |
|
|
|
public R<List<StationVideoTypeEntity>> getVideoByIds(@RequestParam String ids, @RequestParam String randomCode) { |
|
|
|
return R.data(stationVideoTypeService.getVideoByIds(ids, randomCode)); |
|
|
|
return R.data(stationVideoTypeService.getVideoByIds(ids, randomCode)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@RequestMapping(value = "/getVideoReviewerToken", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
@RequestMapping(value = "/getVideoReviewerToken", method = {RequestMethod.GET, RequestMethod.POST}) |
|
|
|
public R<String> getVideoReviewerToken() { |
|
|
|
public R<String> getVideoReviewerToken() { |
|
|
|
return R.data(stationVideoTypeService.getVideoReviewerToken()); |
|
|
|
return R.data(stationVideoTypeService.getVideoReviewerToken()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@GetMapping("/getVideoMonitorByAgency") |
|
|
|
@GetMapping("/getVideoMonitorByAgency") |
|
|
|
@ApiOperationSupport(order = 110) |
|
|
|
@ApiOperationSupport(order = 110) |
|
|
@ -207,6 +209,7 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<List<VideoMonitorVO>> getVideoMonitorByAgency(@RequestParam @ApiParam("视频分类") String type) { |
|
|
|
public R<List<VideoMonitorVO>> getVideoMonitorByAgency(@RequestParam @ApiParam("视频分类") String type) { |
|
|
|
return R.data(stationVideoTypeService.getVideoMonitor(type)); |
|
|
|
return R.data(stationVideoTypeService.getVideoMonitor(type)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@GetMapping("/getHikVisionStations") |
|
|
|
@GetMapping("/getHikVisionStations") |
|
|
|
@ApiOperationSupport(order = 120) |
|
|
|
@ApiOperationSupport(order = 120) |
|
|
@ -214,6 +217,7 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<List<JSONObject>> getHikVisionStations() { |
|
|
|
public R<List<JSONObject>> getHikVisionStations() { |
|
|
|
return R.data(stationVideoTypeService.getHikVisionStations()); |
|
|
|
return R.data(stationVideoTypeService.getHikVisionStations()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@ApiLog |
|
|
|
@ApiLog |
|
|
|
@GetMapping("/getMonitorsByStation") |
|
|
|
@GetMapping("/getMonitorsByStation") |
|
|
|
@ApiOperationSupport(order = 130) |
|
|
|
@ApiOperationSupport(order = 130) |
|
|
@ -221,4 +225,14 @@ public class StationVideoTypeController extends BladeController { |
|
|
|
public R<Map<HikDeviceResp, List<HikMonitorResp>>> getMonitorsByStation(@RequestParam String stationId) { |
|
|
|
public R<Map<HikDeviceResp, List<HikMonitorResp>>> getMonitorsByStation(@RequestParam String stationId) { |
|
|
|
return R.data(stationVideoTypeService.getMonitorsByStation(stationId)); |
|
|
|
return R.data(stationVideoTypeService.getMonitorsByStation(stationId)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@OperationAnnotation(moduleName = "视频监控", title = "视频监控", operatorType = OperatorType.APPSYSTEMS, businessType = |
|
|
|
|
|
|
|
BusinessType.GENCODE, |
|
|
|
|
|
|
|
action = "获取视频监测列表") |
|
|
|
|
|
|
|
@GetMapping("/videoimages") |
|
|
|
|
|
|
|
public R videoimages() { |
|
|
|
|
|
|
|
return R.success("视频监控处理成功"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|