change - 修正报警信息模块的权限认证注解

breach-zhy
zch 4 weeks ago
parent 5f7b5d0c03
commit 0f8e897996

@ -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)

Loading…
Cancel
Save