| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @Api(tags="设备告警-历史告警") |
| | | @Api(tags="告警管理-设备告警历史查询") |
| | | @RestController |
| | | @RequestMapping("DevalarmDataHistoryAction") |
| | | public class DevalarmDataHistoryController { |
| | |
| | | |
| | | //设备告警历史查询 |
| | | @ApiOperation(value = "设备告警历史查询") |
| | | @PostMapping("/serchByCondition") |
| | | @PostMapping("serchByCondition") |
| | | public Response serchByCondition(@RequestBody DevAlarmPar par){ |
| | | return service.serchByCondition(par); |
| | | } |
| | | |
| | | //设备告警删除告警 |
| | | @ApiOperation(value = "设备告警删除告警") |
| | | @GetMapping("/delete") |
| | | @GetMapping("delete") |
| | | public Response delete(@RequestParam int num){ |
| | | return service.delete(num); |
| | | } |