This commit is contained in:
liuchengqian 2023-03-03 09:56:53 +08:00
parent 46fe03c6be
commit 60ed3481e8

View File

@ -118,25 +118,20 @@ public class FirePointController {
}
/**
* 动态多条件查询火点信息
* 动态多条件查询火点信息(Complete)
*/
@PostMapping("/selectFirePoint")
public String selectFirePoint(@RequestHeader(value = "Authorization") String token, @RequestBody Map map) {
// 区县编码
String code = (String) map.get("cityCode");
// 开始时间
String startTime = (String) map.get("startTime");
// 结束时间
String endTime = (String) map.get("endTime");
// 卫星类型
String satelliteType = (String) map.get("satelliteType");
// 植被类型
String landType = (String) map.get("landType");
return firePointService.queryFirePoint(token, code, startTime, endTime, satelliteType, landType);
}
/**
* 查询该省所有的市
* 查询该省所有的市(Complete)
*/
@GetMapping("/selectCityName")
public String selectCityName(@RequestParam("code") String countyCode) {