refactor(ems): 移除 RecordIotenvInstantController 中的权限注解

移除了 RecordIotenvInstantController 类中各个方法的 @PreAuthorize 注解,包括:
- 列表查询
- 导出
- 信息获取
- 新增
- 修改- 删除
- 获取 RecordIotenvInstant 列表

这次修改影响了控制器中的所有方法,旨在调整权限控制机制。
boardTest
zch 4 weeks ago
parent 1bee647734
commit be1a4386ca

@ -37,7 +37,6 @@ public class RecordIotenvInstantController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:list')")
@GetMapping("/list") @GetMapping("/list")
public TableDataInfo list (RecordIotenvInstant recordIotenvInstant)throws ParseException public TableDataInfo list (RecordIotenvInstant recordIotenvInstant)throws ParseException
{ {
@ -51,7 +50,6 @@ public class RecordIotenvInstantController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:export')")
@Log(title = "物联网数据", businessType = BusinessType.EXPORT) @Log(title = "物联网数据", businessType = BusinessType.EXPORT)
@PostMapping("/export") @PostMapping("/export")
public void export(HttpServletResponse response, RecordIotenvInstant recordIotenvInstant)throws ParseException public void export(HttpServletResponse response, RecordIotenvInstant recordIotenvInstant)throws ParseException
@ -64,7 +62,6 @@ public class RecordIotenvInstantController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:query')")
@GetMapping(value = "/{objid}") @GetMapping(value = "/{objid}")
public AjaxResult getInfo(@PathVariable("objid") Long objid) public AjaxResult getInfo(@PathVariable("objid") Long objid)
{ {
@ -74,7 +71,6 @@ public class RecordIotenvInstantController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:add')")
@Log(title = "物联网数据", businessType = BusinessType.INSERT) @Log(title = "物联网数据", businessType = BusinessType.INSERT)
@PostMapping @PostMapping
public AjaxResult add(@RequestBody RecordIotenvInstant recordIotenvInstant) public AjaxResult add(@RequestBody RecordIotenvInstant recordIotenvInstant)
@ -86,7 +82,6 @@ public class RecordIotenvInstantController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:edit')")
@Log(title = "物联网数据", businessType = BusinessType.UPDATE) @Log(title = "物联网数据", businessType = BusinessType.UPDATE)
@PutMapping @PutMapping
public AjaxResult edit(@RequestBody RecordIotenvInstant recordIotenvInstant) public AjaxResult edit(@RequestBody RecordIotenvInstant recordIotenvInstant)
@ -98,7 +93,6 @@ public class RecordIotenvInstantController extends BaseController
/** /**
* *
*/ */
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:remove')")
@Log(title = "物联网数据", businessType = BusinessType.DELETE) @Log(title = "物联网数据", businessType = BusinessType.DELETE)
@DeleteMapping("/{objids}") @DeleteMapping("/{objids}")
public AjaxResult remove(@PathVariable Long[] objids) public AjaxResult remove(@PathVariable Long[] objids)
@ -106,7 +100,6 @@ public class RecordIotenvInstantController extends BaseController
return toAjax(recordIotenvInstantService.deleteRecordIotenvInstantByObjids(objids)); return toAjax(recordIotenvInstantService.deleteRecordIotenvInstantByObjids(objids));
} }
@PreAuthorize("@ss.hasPermi('ems/record:recordIotenvInstant:list')")
@GetMapping("/getRecordIotenvInstantList") @GetMapping("/getRecordIotenvInstantList")
public AjaxResult getRecordIotenvInstantList (RecordIotenvInstant recordIotenvInstant)throws ParseException public AjaxResult getRecordIotenvInstantList (RecordIotenvInstant recordIotenvInstant)throws ParseException
{ {

Loading…
Cancel
Save