| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.text.ParseException; |
| | | import java.util.List; |
| | | |
| | | |
| | |
| | | //电源历史告警查询 |
| | | @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); |
| | | public Response getHistoryAllPage(@RequestBody PwrdevAlarmHistory param) throws ParseException { |
| | | //return service.getHistoryAllPage(pwrH); |
| | | return service.getPageInfo(param); |
| | | } |
| | | |
| | | //电池历史告警删除 |
| | |
| | | //通讯电源历史告警查询 |
| | | @ApiOperation(value = "通讯电源历史告警查询",notes = "almTypes,almSource,almStartTime,almStartTime1,pageCurr,pageSize,usrId,stationName1,stationName2,stationName3,stationName5") |
| | | @PostMapping("/getHistoryAllPage2") |
| | | public Response getHistoryAllPage2(@RequestBody PwrdevAlarmHistory pwrH){ |
| | | return service.getHistoryAllPage2(pwrH); |
| | | public Response getHistoryAllPage2(@RequestBody PwrdevAlarmHistory param) throws ParseException { |
| | | //return service.getHistoryAllPage2(pwrH); |
| | | return service.getPageInfoForTX(param); |
| | | } |
| | | |
| | | } |