whyclxw
2021-12-13 98dd9efc83a859fb52440fd8a9da1ed862b8b69e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package com.whyc.controller;
 
import com.whyc.dto.Response;
import com.whyc.pojo.PwrdevAlarmHistory;
import com.whyc.service.PwrdevAlarmHistoryService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import java.util.List;
 
 
@Api(tags = "电源告警-历史告警")
@RestController
@RequestMapping("/PwrdevAlarmHistoryAction")
public class PwrdevAlarmHistoryController {
 
    @Autowired
    private PwrdevAlarmHistoryService service;
 
    //电源历史告警查询
    @ApiOperation(value = "电源历史告警查询",notes = "almTypes,almSource,almStartTime,almStartTime1,pageCurr,pageSize,usrId,stationName1,stationName2,stationName3,stationName5")
    @PostMapping("/getHistoryAllPage")
    public Response getHistoryAllPage(@RequestBody PwrdevAlarmHistory pwrH){
        return service.getHistoryAllPage(pwrH);
    }
 
}