优化
This commit is contained in:
parent
46fe03c6be
commit
60ed3481e8
@ -118,25 +118,20 @@ public class FirePointController {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 动态多条件查询火点信息
|
* 动态多条件查询火点信息(Complete)
|
||||||
*/
|
*/
|
||||||
@PostMapping("/selectFirePoint")
|
@PostMapping("/selectFirePoint")
|
||||||
public String selectFirePoint(@RequestHeader(value = "Authorization") String token, @RequestBody Map map) {
|
public String selectFirePoint(@RequestHeader(value = "Authorization") String token, @RequestBody Map map) {
|
||||||
// 区县编码
|
|
||||||
String code = (String) map.get("cityCode");
|
String code = (String) map.get("cityCode");
|
||||||
// 开始时间
|
|
||||||
String startTime = (String) map.get("startTime");
|
String startTime = (String) map.get("startTime");
|
||||||
// 结束时间
|
|
||||||
String endTime = (String) map.get("endTime");
|
String endTime = (String) map.get("endTime");
|
||||||
// 卫星类型
|
|
||||||
String satelliteType = (String) map.get("satelliteType");
|
String satelliteType = (String) map.get("satelliteType");
|
||||||
// 植被类型
|
|
||||||
String landType = (String) map.get("landType");
|
String landType = (String) map.get("landType");
|
||||||
return firePointService.queryFirePoint(token, code, startTime, endTime, satelliteType, landType);
|
return firePointService.queryFirePoint(token, code, startTime, endTime, satelliteType, landType);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询该省所有的市
|
* 查询该省所有的市(Complete)
|
||||||
*/
|
*/
|
||||||
@GetMapping("/selectCityName")
|
@GetMapping("/selectCityName")
|
||||||
public String selectCityName(@RequestParam("code") String countyCode) {
|
public String selectCityName(@RequestParam("code") String countyCode) {
|
||||||
|
Loading…
Reference in New Issue
Block a user