|
|
@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
|
|
|
import com.ruoyi.business.domain.dto.DevopsVideoInfoDto;
|
|
|
|
import com.ruoyi.business.domain.dto.DevopsVideoInfoDto;
|
|
|
|
|
|
|
|
import com.ruoyi.business.domain.vo.DevopsVideoInfoVo;
|
|
|
|
import com.ruoyi.common.annotation.Log;
|
|
|
|
import com.ruoyi.common.annotation.Log;
|
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
|
import com.ruoyi.common.core.controller.BaseController;
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
|
import com.ruoyi.common.core.domain.AjaxResult;
|
|
|
@ -14,8 +15,10 @@ import com.ruoyi.common.utils.StringKit;
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
import com.ruoyi.common.utils.poi.ExcelUtil;
|
|
|
|
import com.ruoyi.database.domain.DevopsVideoInfo;
|
|
|
|
import com.ruoyi.database.domain.DevopsVideoInfo;
|
|
|
|
import com.ruoyi.database.domain.DevopsVideoStatus;
|
|
|
|
import com.ruoyi.database.domain.DevopsVideoStatus;
|
|
|
|
|
|
|
|
import com.ruoyi.database.domain.vo.DevopsVideoInfoVo0;
|
|
|
|
import com.ruoyi.database.service.DevopsVideoInfoService;
|
|
|
|
import com.ruoyi.database.service.DevopsVideoInfoService;
|
|
|
|
import com.ruoyi.database.service.DevopsVideoStatusService;
|
|
|
|
import com.ruoyi.database.service.DevopsVideoStatusService;
|
|
|
|
|
|
|
|
import com.sun.org.apache.bcel.internal.generic.NEW;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
|
import lombok.RequiredArgsConstructor;
|
|
|
@ -61,6 +64,22 @@ public class DevopsVideoInfoController extends BaseController {
|
|
|
|
return getDataTable(list);
|
|
|
|
return getDataTable(list);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/all")
|
|
|
|
|
|
|
|
@ApiOperation("查询视频监控设备表")
|
|
|
|
|
|
|
|
public TableDataInfo<DevopsVideoInfoVo0> alllist() {
|
|
|
|
|
|
|
|
List<DevopsVideoInfo> list1 = devopsVideoInfoService.list();
|
|
|
|
|
|
|
|
ArrayList<DevopsVideoInfoVo0> devopsVideoInfos = new ArrayList<>();
|
|
|
|
|
|
|
|
for (DevopsVideoInfo devopsVideoInfo1 : list1){
|
|
|
|
|
|
|
|
DevopsVideoInfoVo0 devopsVideoInfoVo0 = new DevopsVideoInfoVo0();
|
|
|
|
|
|
|
|
devopsVideoInfoVo0.setDeviceName(devopsVideoInfo1.getDeviceName());
|
|
|
|
|
|
|
|
devopsVideoInfoVo0.setLongitude(devopsVideoInfo1.getLongitude()+"");
|
|
|
|
|
|
|
|
devopsVideoInfoVo0.setLatitude(devopsVideoInfo1.getLatitude()+"");
|
|
|
|
|
|
|
|
devopsVideoInfos.add(devopsVideoInfoVo0);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
return getDataTable(devopsVideoInfos);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping("/boundary")
|
|
|
|
@PostMapping("/boundary")
|
|
|
|
@ApiOperation("边界列表")
|
|
|
|
@ApiOperation("边界列表")
|
|
|
|
public TableDataInfo<DevopsVideoInfo> list(
|
|
|
|
public TableDataInfo<DevopsVideoInfo> list(
|
|
|
|