|
|
|
@ -92,7 +92,7 @@ public class AlertMessageController extends BaseController |
|
|
|
* 查询预警信息统计列表 |
|
|
|
* 查询预警信息统计列表 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@PreAuthorize("@ss.hasPermi('inMonitoring:alertMessage:list')") |
|
|
|
@PreAuthorize("@ss.hasPermi('inMonitoring:alertMessage:list')") |
|
|
|
@GetMapping ("/list") |
|
|
|
@PostMapping ("/list") |
|
|
|
@ApiOperation("查询预警信息") |
|
|
|
@ApiOperation("查询预警信息") |
|
|
|
@Log(title = "查询预警信息", businessType = BusinessType.UPDATE) |
|
|
|
@Log(title = "查询预警信息", businessType = BusinessType.UPDATE) |
|
|
|
|
|
|
|
|
|
|
|
@ -129,7 +129,17 @@ public class AlertMessageController extends BaseController |
|
|
|
return AjaxResult.success(dto); |
|
|
|
return AjaxResult.success(dto); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
|
|
* 删除预警信息 |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
@PreAuthorize("@ss.hasPermi('system:message:remove')") |
|
|
|
|
|
|
|
@ApiOperation("删除预警信息") |
|
|
|
|
|
|
|
@Log(title = "删除预警信息", businessType = BusinessType.UPDATE) |
|
|
|
|
|
|
|
@DeleteMapping("/{ids}") |
|
|
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] ids) |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
return toAjax(alertMessageService.deleteAlertMessageByIds(ids)); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|