| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Api(tags = "电源告警-实时告警") |
| | | import java.util.List; |
| | | |
| | | @Api(tags = "告警管理-电源实时告警") |
| | | @RestController |
| | | @RequestMapping("/PowerAlarmAction") |
| | | public class PwrdevAlarmController { |
| | | @RequestMapping("PowerAlarmAction") |
| | | public class PwrdevAlarmController extends BaseController{ |
| | | |
| | | @Autowired |
| | | private PwrdevAlarmService service; |
| | |
| | | return service.delete(num); |
| | | } |
| | | |
| | | //电源实时删除告警批量 |
| | | @ApiOperation(value = "电源实时删除告警批量--通讯电源") |
| | | @PostMapping("/deletepro") |
| | | public Response deletepro(@RequestBody List<Integer> list){ |
| | | return service.deletepro(list); |
| | | } |
| | | |
| | | //电源告警个数 |
| | | @ApiOperation(value = "电源告警个数") |
| | | @GetMapping("/getAlarmNum") |
| | |
| | | } |
| | | |
| | | //通信电源告警--认证送检-配电柜专用 |
| | | @ApiOperation(value = "通信电源告警",notes="almTypes,almLevels,page,stationName1,stationName2,stationName3,stationName5,usrId,almSource") |
| | | @ApiOperation(value = "通信电源告警查询",notes="almTypes,almLevels,page,stationName1,stationName2,stationName3,stationName5,usrId,almSource") |
| | | @PostMapping("/getAllPage2") |
| | | public Response getAllPage2(@RequestBody PwrdevAlarm pwrdevAlarm){ |
| | | return service.getAllPage2(pwrdevAlarm); |