|
|
@ -44,7 +44,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 查询报警信息列表
|
|
|
|
* 查询报警信息列表
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("business:alarmInfo:list")
|
|
|
|
@RequiresPermissions("business:alarmInformation:list")
|
|
|
|
@GetMapping("/list")
|
|
|
|
@GetMapping("/list")
|
|
|
|
public TableDataInfo list(HwAlarmInfo hwAlarmInfo)
|
|
|
|
public TableDataInfo list(HwAlarmInfo hwAlarmInfo)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -56,7 +56,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 导出报警信息列表
|
|
|
|
* 导出报警信息列表
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("business:alarmInfo:export")
|
|
|
|
@RequiresPermissions("business:alarmInformation:export")
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.EXPORT)
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.EXPORT)
|
|
|
|
@PostMapping("/export")
|
|
|
|
@PostMapping("/export")
|
|
|
|
public void export(HttpServletResponse response, HwAlarmInfo hwAlarmInfo)
|
|
|
|
public void export(HttpServletResponse response, HwAlarmInfo hwAlarmInfo)
|
|
|
@ -69,7 +69,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 获取报警信息详细信息
|
|
|
|
* 获取报警信息详细信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("business:alarmInfo:query")
|
|
|
|
@RequiresPermissions("business:alarmInformation:query")
|
|
|
|
@GetMapping(value = "/{alarmInfoId}")
|
|
|
|
@GetMapping(value = "/{alarmInfoId}")
|
|
|
|
public AjaxResult getInfo(@PathVariable("alarmInfoId") Long alarmInfoId)
|
|
|
|
public AjaxResult getInfo(@PathVariable("alarmInfoId") Long alarmInfoId)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -79,7 +79,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 新增报警信息
|
|
|
|
* 新增报警信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("business:alarmInfo:add")
|
|
|
|
@RequiresPermissions("business:alarmInformation:add")
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.INSERT)
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.INSERT)
|
|
|
|
@PostMapping
|
|
|
|
@PostMapping
|
|
|
|
public AjaxResult add(@RequestBody HwAlarmInfo hwAlarmInfo)
|
|
|
|
public AjaxResult add(@RequestBody HwAlarmInfo hwAlarmInfo)
|
|
|
@ -90,7 +90,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 修改报警信息
|
|
|
|
* 修改报警信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("business:alarmInfo:edit")
|
|
|
|
@RequiresPermissions("business:alarmInformation:edit")
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.UPDATE)
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.UPDATE)
|
|
|
|
@PutMapping
|
|
|
|
@PutMapping
|
|
|
|
public AjaxResult edit(@RequestBody HwAlarmInfo hwAlarmInfo)
|
|
|
|
public AjaxResult edit(@RequestBody HwAlarmInfo hwAlarmInfo)
|
|
|
@ -101,7 +101,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* 删除报警信息
|
|
|
|
* 删除报警信息
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
@RequiresPermissions("business:alarmInfo:remove")
|
|
|
|
@RequiresPermissions("business:alarmInformation:remove")
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.DELETE)
|
|
|
|
@Log(title = "报警信息", businessType = BusinessType.DELETE)
|
|
|
|
@DeleteMapping("/{alarmInfoIds}")
|
|
|
|
@DeleteMapping("/{alarmInfoIds}")
|
|
|
|
public AjaxResult remove(@PathVariable Long[] alarmInfoIds)
|
|
|
|
public AjaxResult remove(@PathVariable Long[] alarmInfoIds)
|
|
|
|