|
|
@ -1,6 +1,7 @@
|
|
|
|
package com.ruoyi.database.controller;
|
|
|
|
package com.ruoyi.database.controller;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.ruoyi.common.utils.PageUtils;
|
|
|
|
import com.ruoyi.common.utils.PageUtils;
|
|
|
|
import com.ruoyi.common.utils.StringKit;
|
|
|
|
import com.ruoyi.common.utils.StringKit;
|
|
|
@ -98,6 +99,15 @@ public class MetaAlarmInfoController extends BaseController {
|
|
|
|
return dataTable;
|
|
|
|
return dataTable;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/policeName")
|
|
|
|
|
|
|
|
@ApiOperation("查询")
|
|
|
|
|
|
|
|
public AjaxResult selectlist(MetaAlarmInfo metaAlarmInfo) {
|
|
|
|
|
|
|
|
List<MetaAlarmInfo> list = metaAlarmInfoService.lambdaQuery().eq(MetaAlarmInfo::getPoliceReceiverName, metaAlarmInfo.getPoliceReceiverName()).list();
|
|
|
|
|
|
|
|
return AjaxResult.success(list);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/filterByLongitude")
|
|
|
|
@GetMapping("/filterByLongitude")
|
|
|
|
@ApiOperation("根据经度过滤接警信息表")
|
|
|
|
@ApiOperation("根据经度过滤接警信息表")
|
|
|
|
public TableDataInfo<MetaAlarmInfo> filterByLongitude() {
|
|
|
|
public TableDataInfo<MetaAlarmInfo> filterByLongitude() {
|
|
|
@ -141,6 +151,7 @@ public class MetaAlarmInfoController extends BaseController {
|
|
|
|
return AjaxResult.error("请求失败,请联系管理员");
|
|
|
|
return AjaxResult.error("请求失败,请联系管理员");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("/filterByHour")
|
|
|
|
@GetMapping("/filterByHour")
|
|
|
|
@ApiOperation("当天接警信息表")
|
|
|
|
@ApiOperation("当天接警信息表")
|
|
|
|
public AjaxResult filterByHour(MetaAlarmInfo metaAlarmInfo) {
|
|
|
|
public AjaxResult filterByHour(MetaAlarmInfo metaAlarmInfo) {
|
|
|
@ -175,6 +186,12 @@ public class MetaAlarmInfoController extends BaseController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// @PostMapping("/unit")
|
|
|
|
|
|
|
|
// @ApiOperation("根据单位查")
|
|
|
|
|
|
|
|
// public AjaxResult selectUnit(){
|
|
|
|
|
|
|
|
//
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@PostMapping
|
|
|
|
@PostMapping
|
|
|
|
@ApiOperation("新增接警信息表")
|
|
|
|
@ApiOperation("新增接警信息表")
|
|
|
|
@Log(title = "接警信息表", businessType = BusinessType.INSERT)
|
|
|
|
@Log(title = "接警信息表", businessType = BusinessType.INSERT)
|
|
|
|