jjxx---筛选

develop
Angel 10 months ago
parent dfdd41e39e
commit 2ea0a9f393

@ -41,6 +41,16 @@ public class MetaAlarmInfoController extends BaseController {
return getDataTable(list);
}
@GetMapping("/filterByLongitude")
@ApiOperation("根据经度过滤接警信息表")
public TableDataInfo<MetaAlarmInfo> filterByLongitude() {
startPage();
QueryWrapper<MetaAlarmInfo> queryWrapper = new QueryWrapper<>();
queryWrapper.gt("longitude", 120.390000);
List<MetaAlarmInfo> list = metaAlarmInfoService.list(queryWrapper);
return getDataTable(list);
}
@PostMapping
@ApiOperation("新增接警信息表")
@Log(title = "接警信息表", businessType = BusinessType.INSERT)

Loading…
Cancel
Save