设备在线率统计等

This commit is contained in:
mi9688
2024-11-26 13:45:08 +08:00
parent eda321d9d8
commit 45b3381eb2
9 changed files with 19 additions and 12 deletions

View File

@ -51,7 +51,7 @@ public class AlertLogController extends BaseController
* 查询设备告警列表
*/
@ApiOperation("查询设备告警列表")
@PreAuthorize("@ss.hasPermi('iot:alertLog:list')")
// @PreAuthorize("@ss.hasPermi('iot:alertLog:list')")
@GetMapping("/list")
public TableDataInfo list(AlertLog alertLog)
{

View File

@ -31,7 +31,7 @@ public class XjInspectionRecordsController extends BaseController
/**
* 查询记录列表
*/
@PreAuthorize("@ss.hasPermi('inspection:records:list')")
// @PreAuthorize("@ss.hasPermi('inspection:records:list')")
@GetMapping("/list")
public TableDataInfo list(XjInspectionRecords klxjInspectionRecords)
{
@ -44,7 +44,7 @@ public class XjInspectionRecordsController extends BaseController
/**
* 导出记录列表
*/
@PreAuthorize("@ss.hasPermi('inspection:records:export')")
// @PreAuthorize("@ss.hasPermi('inspection:records:export')")
@Log(title = "记录", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, XjInspectionRecords klxjInspectionRecords)
@ -57,7 +57,7 @@ public class XjInspectionRecordsController extends BaseController
/**
* 获取记录详细信息
*/
@PreAuthorize("@ss.hasPermi('inspection:records:query')")
// @PreAuthorize("@ss.hasPermi('inspection:records:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
@ -67,7 +67,7 @@ public class XjInspectionRecordsController extends BaseController
/**
* 新增记录
*/
@PreAuthorize("@ss.hasPermi('inspection:records:add')")
// @PreAuthorize("@ss.hasPermi('inspection:records:add')")
@Log(title = "记录", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody XjInspectionRecords klxjInspectionRecords)
@ -78,7 +78,7 @@ public class XjInspectionRecordsController extends BaseController
/**
* 修改记录
*/
@PreAuthorize("@ss.hasPermi('inspection:records:edit')")
// @PreAuthorize("@ss.hasPermi('inspection:records:edit')")
@Log(title = "记录", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody XjInspectionRecords klxjInspectionRecords)
@ -89,7 +89,7 @@ public class XjInspectionRecordsController extends BaseController
/**
* 删除记录
*/
@PreAuthorize("@ss.hasPermi('inspection:records:remove')")
// @PreAuthorize("@ss.hasPermi('inspection:records:remove')")
@Log(title = "记录", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)