|
|
|
@ -44,7 +44,7 @@ public class HwAlarmInfomationController extends BaseController
|
|
|
|
|
/**
|
|
|
|
|
* 查询报警信息列表
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("business:alarmInfo:list")
|
|
|
|
|
@RequiresPermissions("business:alarmInformation:list")
|
|
|
|
|
@GetMapping("/list")
|
|
|
|
|
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)
|
|
|
|
|
@PostMapping("/export")
|
|
|
|
|
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}")
|
|
|
|
|
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)
|
|
|
|
|
@PostMapping
|
|
|
|
|
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)
|
|
|
|
|
@PutMapping
|
|
|
|
|
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)
|
|
|
|
|
@DeleteMapping("/{alarmInfoIds}")
|
|
|
|
|
public AjaxResult remove(@PathVariable Long[] alarmInfoIds)
|
|
|
|
|