| | |
| | | @GetMapping("/video_inspection") |
| | | @ApiOperation("预警研判") |
| | | public CommonResult searchVideoInspection(@RequestParam Integer current, |
| | | @RequestParam Integer pageSize, |
| | | @RequestParam(required = false) Long gradeId, |
| | | @RequestParam(required = false) Long videoId, |
| | | @RequestParam(required = false) String beginTime, |
| | | @RequestParam(required = false) String endTime) { |
| | | return CommonResult.success(baseCaseService.selectVideoInspection(current, gradeId, videoId, beginTime, endTime)); |
| | | return CommonResult.success(baseCaseService.selectVideoInspection(current, pageSize, gradeId, videoId, beginTime, endTime)); |
| | | } |
| | | |
| | | @GetMapping("/video_inspection/{id}") |
| | | @ApiOperation("预警研判详情") |
| | | public CommonResult getVideoInspection(@PathVariable Long id) { |
| | | return CommonResult.success(baseCaseService.getById(id)); |
| | | } |
| | | |
| | | @GetMapping("/video_inspection/Count") |
| | |
| | | |
| | | List<QueryForViolationVO> selectViolationList(QueryForViolationParam queryForViolationParam); |
| | | |
| | | Page<BaseCaseVO> selectVideoInspection(Integer current, Long gradeId, Long videoId, String beginTime, String endTime); |
| | | Page<BaseCaseVO> selectVideoInspection(Integer current, Integer pageSize,Long gradeId, Long videoId, String beginTime, String endTime); |
| | | |
| | | Map<String, Object> selectCount(); |
| | | |
| | |
| | | } |
| | | |
| | | @Override |
| | | public Page<BaseCaseVO> selectVideoInspection(Integer current, Long gradeId, Long videoId, String beginTime, String endTime) { |
| | | return baseCaseMapper.selectVideoInspection(new Page<>(current, 1), gradeId, videoId, beginTime, endTime); |
| | | public Page<BaseCaseVO> selectVideoInspection(Integer current,Integer pageSize, Long gradeId, Long videoId, String beginTime, String endTime) { |
| | | return baseCaseMapper.selectVideoInspection(new Page<>(current, pageSize), gradeId, videoId, beginTime, endTime); |
| | | } |
| | | |
| | | @Override |