添加了查询最新的三百条火情信息的功能模块

This commit is contained in:
2022-02-15 08:44:03 +08:00
parent 8eb571336e
commit d3ac08778d
4 changed files with 36 additions and 0 deletions

View File

@ -47,4 +47,13 @@ public class FireController {
public String selectFireBetweenTime(@RequestParam("code") String code, @RequestParam("startTime") String startTime, @RequestParam("endTime") String endTime){
return fireService.selectFireBetweenTime(code,startTime,endTime);
}
/**
* 查询最新的300条火情信息
* @return
*/
@GetMapping("/findThreeHundredData")
public String findThreeHundredData(){
return fireService.findThreeHundredData();
}
}