|
@@ -16,12 +16,12 @@ import java.text.ParseException;
|
|
|
public interface AlarmService {
|
|
|
|
|
|
@GetMapping("/alarm/count/query/new2")
|
|
|
- public AjaxResult querynew2(@RequestParam(value = "stationid", required = true) String stationid,
|
|
|
+ public AjaxResult querynew2(@RequestParam(value = "stationid", required = true) String stationid,
|
|
|
@RequestParam(value = "startdate", required = true) String startdate,
|
|
|
@RequestParam(value = "enddate", required = true) String enddate) throws ParseException;
|
|
|
|
|
|
@GetMapping("/shutdown/list")
|
|
|
- public AjaxResult getRecentFault(
|
|
|
+ public AjaxResult getRecentFault(
|
|
|
@RequestParam(value = "stId", required = true) String stId,
|
|
|
@RequestParam(value = "startDate", required = true) String startDate,
|
|
|
@RequestParam(value = "endDate", required = true) String endDate) throws Exception;
|
|
@@ -29,17 +29,17 @@ public interface AlarmService {
|
|
|
|
|
|
@GetMapping("/alarm/history/page2")
|
|
|
public AjaxResult queryByPage(
|
|
|
- @RequestParam(value = "pagenum")Integer pagenum,
|
|
|
- @RequestParam(value = "pagesize")Integer pagesize,
|
|
|
+ @RequestParam(value = "pagenum") Integer pagenum,
|
|
|
+ @RequestParam(value = "pagesize") Integer pagesize,
|
|
|
@RequestParam(value = "stationid", required = false) String stationid,
|
|
|
- @RequestParam(value = "windturbineid",required = false) String windturbineid,
|
|
|
- @RequestParam(value = "category1",required = false) String category1,
|
|
|
- @RequestParam(value = "category2",required = false) String category2,
|
|
|
- @RequestParam(value = "rank",required = false) String rank,
|
|
|
- @RequestParam(value = "modelid",required = false) String modelid,
|
|
|
- @RequestParam(value = "snapid",required = false) Long snapid,
|
|
|
- @RequestParam(value = "messagetype",required = false) Integer messagetype,
|
|
|
- @RequestParam(value = "keyword",required = false) String keyword,
|
|
|
+ @RequestParam(value = "windturbineid", required = false) String windturbineid,
|
|
|
+ @RequestParam(value = "category1", required = false) String category1,
|
|
|
+ @RequestParam(value = "category2", required = false) String category2,
|
|
|
+ @RequestParam(value = "rank", required = false) String rank,
|
|
|
+ @RequestParam(value = "modelid", required = false) String modelid,
|
|
|
+ @RequestParam(value = "snapid", required = false) Long snapid,
|
|
|
+ @RequestParam(value = "messagetype", required = false) Integer messagetype,
|
|
|
+ @RequestParam(value = "keyword", required = false) String keyword,
|
|
|
@RequestParam(value = "starttime", required = false) String starttime,
|
|
|
@RequestParam(value = "endtime", required = false) String endtime
|
|
|
);
|
|
@@ -58,5 +58,12 @@ public interface AlarmService {
|
|
|
* 查询停机类型
|
|
|
*/
|
|
|
@GetMapping(value = "/Stoptype/treeType")
|
|
|
- public AjaxResult getRecentFault()throws Exception;
|
|
|
+ public AjaxResult getRecentFault() throws Exception;
|
|
|
+
|
|
|
+ @GetMapping(value = "/alarm/count/query/alltotal")
|
|
|
+ public AjaxResult getAlarmAllTotal(@RequestParam(value = "stId", required = true) String stId) throws Exception;
|
|
|
+
|
|
|
+
|
|
|
+ @GetMapping(value = "/shutdown/count/alltotal")
|
|
|
+ public AjaxResult getShutdownAllTotal(@RequestParam(value = "stId", required = true) String stId) throws Exception;
|
|
|
}
|