| | |
| | | return Result.success(pageBean); |
| | | } |
| | | |
| | | // 返回查询的所有历史数据 |
| | | @GetMapping("/historyall") |
| | | public Result conditonQueryhistoryallData(String siteName,String mnCode,String beginTime, String endTime,String[] scenarioType ){ |
| | | List<DustSiteData> list= fugitiveDustService.conditonQueryhistoryallData(siteName,mnCode, beginTime,endTime,scenarioType); |
| | | return Result.success(list); |
| | | } |
| | | // 返回监测点数据中的不同的场景 |
| | | @GetMapping("/scenario") |
| | | public Result conditonQueryHistoryData(){ |
| | |
| | | PageBean pageBean = fugitiveDustService.pageAnalysisTime(page,pageSize,siteName,beginTime,endTime); |
| | | return Result.success(pageBean); |
| | | } |
| | | |
| | | //动态计算分析数据 不分页 |
| | | @GetMapping("/analysisall") |
| | | public Result analysisAll(String siteName,String beginTime, String endTime){ |
| | | List<AnalysisDustData> list = fugitiveDustService.analysisAll(siteName,beginTime,endTime); |
| | | return Result.success(list); |
| | | } |
| | | //获得不同的异常类型 |
| | | @GetMapping("/exceptiontype") |
| | | public Result getExceptionType(){ |