This commit is contained in:
liuchengqian 2023-03-02 14:09:38 +08:00
parent b9efcffed4
commit 5f27acc90b

View File

@ -72,9 +72,6 @@ public class FirePointController {
/** /**
* 添加火点数据 * 添加火点数据
*
* @param firePointQo
* @return
*/ */
@PostMapping("/insertFirePoint") @PostMapping("/insertFirePoint")
public String insertFirePoint(@RequestBody FirePointQo firePointQo) { public String insertFirePoint(@RequestBody FirePointQo firePointQo) {
@ -99,23 +96,19 @@ public class FirePointController {
/** /**
* 动态多条件查询火点列表 * 动态多条件查询火点列表
*
* @param code 区划编码可以是省市区县街道任意编码如果传需要至少两位不传代表查询全国火点
* @param startTime 过滤火点开始卫星时间不传代表不指定开始时间后台会有限制
* @param endTime 过滤火点结束卫星时间不传代表不指定结束时间
* @param satelliteType 过滤传感器类型不传代表查询全部类型的传感器
* @param landType 过滤地物类型不传代表查询全部地物类型
*/ */
@GetMapping("/queryFirePoint") @GetMapping("/queryFirePoint")
public String queryFirePoint(@RequestParam(value = "code", required = false) String code, @RequestParam(value = "startTime", required = false) String startTime, @RequestParam(value = "endTime", required = false) String endTime, @RequestParam(value = "satelliteType", required = false) String satelliteType, @RequestParam(value = "landType", required = false) String landType) { public String queryFirePoint(@RequestParam(value = "code", required = false) String code,
@RequestParam(value = "startTime", required = false) String startTime,
@RequestParam(value = "endTime", required = false) String endTime,
@RequestParam(value = "satelliteType", required = false) String satelliteType,
@RequestParam(value = "landType", required = false) String landType) {
List<FirePointEntity> firePointList = firePointService.queryFirePoint(code, startTime, endTime, satelliteType, landType); List<FirePointEntity> firePointList = firePointService.queryFirePoint(code, startTime, endTime, satelliteType, landType);
return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale); return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale);
} }
/** /**
* 查询今天的火点信息 * 查询今天的火点信息
*
* @return
*/ */
@GetMapping("/selectTodayFirePoint") @GetMapping("/selectTodayFirePoint")
public String selectTodayFirePoint(@RequestParam("countyCode") String countyCode) { public String selectTodayFirePoint(@RequestParam("countyCode") String countyCode) {
@ -152,8 +145,6 @@ public class FirePointController {
/** /**
* 查询该省所有的市 * 查询该省所有的市
*
* @return
*/ */
@GetMapping("/selectCityName") @GetMapping("/selectCityName")
public String selectCityName(@RequestParam("code") String countyCode) { public String selectCityName(@RequestParam("code") String countyCode) {
@ -174,9 +165,6 @@ public class FirePointController {
/** /**
* 根据火点编码查询火点信息 * 根据火点编码查询火点信息
*
* @param fireCode
* @return
*/ */
@GetMapping("/selectFirePointByCode") @GetMapping("/selectFirePointByCode")
public String selectFirePoint(@RequestParam("fireCode") String fireCode) { public String selectFirePoint(@RequestParam("fireCode") String fireCode) {