diff --git a/src/main/java/com/xkrs/straw/controller/FirePointController.java b/src/main/java/com/xkrs/straw/controller/FirePointController.java index 2c7b33d..79e72da 100644 --- a/src/main/java/com/xkrs/straw/controller/FirePointController.java +++ b/src/main/java/com/xkrs/straw/controller/FirePointController.java @@ -72,9 +72,6 @@ public class FirePointController { /** * 添加火点数据 - * - * @param firePointQo - * @return */ @PostMapping("/insertFirePoint") 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") - 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 firePointList = firePointService.queryFirePoint(code, startTime, endTime, satelliteType, landType); return outputEncapsulationObject(PromptMessageEnum.SUCCESS, firePointList, locale); } /** * 查询今天的火点信息 - * - * @return */ @GetMapping("/selectTodayFirePoint") public String selectTodayFirePoint(@RequestParam("countyCode") String countyCode) { @@ -152,8 +145,6 @@ public class FirePointController { /** * 查询该省所有的市 - * - * @return */ @GetMapping("/selectCityName") public String selectCityName(@RequestParam("code") String countyCode) { @@ -174,9 +165,6 @@ public class FirePointController { /** * 根据火点编码查询火点信息 - * - * @param fireCode - * @return */ @GetMapping("/selectFirePointByCode") public String selectFirePoint(@RequestParam("fireCode") String fireCode) {