设备在线率统计等
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
@ -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)
|
||||
|
Reference in New Issue
Block a user