权限问题修改
This commit is contained in:
parent
964bf6b2df
commit
a7e486d866
@ -41,7 +41,7 @@ public class NgInformationVillageKeeperController extends BaseController
|
||||
/**
|
||||
* 查询村官员信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:keeper:list')")
|
||||
//@PreAuthorize("@ss.hasPermi('rechargecard:keeper:list')")
|
||||
@GetMapping("/list")
|
||||
@ApiOperation("查询村官员信息列表")
|
||||
public TableDataInfo list(NgInformationVillageKeeper ngInformationVillageKeeper)
|
||||
@ -55,7 +55,7 @@ public class NgInformationVillageKeeperController extends BaseController
|
||||
* 导出村官员信息列表
|
||||
*/
|
||||
@ApiOperation("导出村官员信息列表")
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:keeper:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:keeper:export')")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, NgInformationVillageKeeper ngInformationVillageKeeper)
|
||||
{
|
||||
@ -67,7 +67,7 @@ public class NgInformationVillageKeeperController extends BaseController
|
||||
/**
|
||||
* 获取村官员信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:keeper:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:keeper:query')")
|
||||
@GetMapping(value = "/{villageKeeperId}")
|
||||
@ApiOperation("获取村官员信息详细信息")
|
||||
public AjaxResult getInfo(@PathVariable("villageKeeperId") Long villageKeeperId)
|
||||
@ -78,7 +78,7 @@ public class NgInformationVillageKeeperController extends BaseController
|
||||
/**
|
||||
* 新增村官员信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:keeper:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:keeper:add')")
|
||||
@PostMapping
|
||||
@ApiOperation("新增村官员信息")
|
||||
public AjaxResult add(@RequestBody NgInformationVillageKeeper ngInformationVillageKeeper)
|
||||
@ -89,7 +89,7 @@ public class NgInformationVillageKeeperController extends BaseController
|
||||
/**
|
||||
* 修改村官员信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:keeper:edit')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:keeper:edit')")
|
||||
@PutMapping
|
||||
@ApiOperation("修改村官员信息")
|
||||
public AjaxResult edit(@RequestBody NgInformationVillageKeeper ngInformationVillageKeeper)
|
||||
@ -100,7 +100,7 @@ public class NgInformationVillageKeeperController extends BaseController
|
||||
/**
|
||||
* 删除村官员信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:keeper:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:keeper:remove')")
|
||||
@DeleteMapping("/{villageKeeperIds}")
|
||||
@ApiOperation("删除村官员信息")
|
||||
public AjaxResult remove(@PathVariable Long[] villageKeeperIds)
|
||||
|
@ -41,7 +41,7 @@ public class NgInformationWaterIntakeController extends BaseController
|
||||
/**
|
||||
* 查询取水口信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:intake:list')")
|
||||
//@PreAuthorize("@ss.hasPermi('rechargecard:intake:list')")
|
||||
@GetMapping("/list")
|
||||
@ApiOperation("查询取水口信息列表")
|
||||
public TableDataInfo list(NgInformationWaterIntake ngInformationWaterIntake)
|
||||
@ -55,7 +55,7 @@ public class NgInformationWaterIntakeController extends BaseController
|
||||
* 导出取水口信息列表
|
||||
*/
|
||||
@ApiOperation("导出取水口信息列表")
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:intake:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:intake:export')")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, NgInformationWaterIntake ngInformationWaterIntake)
|
||||
{
|
||||
@ -67,7 +67,7 @@ public class NgInformationWaterIntakeController extends BaseController
|
||||
/**
|
||||
* 获取取水口信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:intake:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:intake:query')")
|
||||
@GetMapping(value = "/{intakeId}")
|
||||
@ApiOperation("获取取水口信息详细信息")
|
||||
public AjaxResult getInfo(@PathVariable("intakeId") Long intakeId)
|
||||
@ -78,7 +78,7 @@ public class NgInformationWaterIntakeController extends BaseController
|
||||
/**
|
||||
* 新增取水口信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:intake:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:intake:add')")
|
||||
@PostMapping
|
||||
@ApiOperation("新增取水口信息")
|
||||
public AjaxResult add(@RequestBody NgInformationWaterIntake ngInformationWaterIntake)
|
||||
@ -89,7 +89,7 @@ public class NgInformationWaterIntakeController extends BaseController
|
||||
/**
|
||||
* 修改取水口信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:intake:edit')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:intake:edit')")
|
||||
@PutMapping
|
||||
@ApiOperation("修改取水口信息")
|
||||
public AjaxResult edit(@RequestBody NgInformationWaterIntake ngInformationWaterIntake)
|
||||
@ -100,7 +100,7 @@ public class NgInformationWaterIntakeController extends BaseController
|
||||
/**
|
||||
* 删除取水口信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:intake:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:intake:remove')")
|
||||
@DeleteMapping("/{intakeIds}")
|
||||
@ApiOperation("删除取水口信息")
|
||||
public AjaxResult remove(@PathVariable Long[] intakeIds)
|
||||
|
@ -41,7 +41,7 @@ public class NgIrrigationControllersController extends BaseController
|
||||
/**
|
||||
* 查询灌溉控制器信息列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:controllers:list')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:controllers:list')")
|
||||
@GetMapping("/list")
|
||||
@ApiOperation("查询灌溉控制器信息列表")
|
||||
public TableDataInfo list(NgIrrigationControllers ngIrrigationControllers)
|
||||
@ -55,7 +55,7 @@ public class NgIrrigationControllersController extends BaseController
|
||||
* 导出灌溉控制器信息列表
|
||||
*/
|
||||
@ApiOperation("导出灌溉控制器信息列表")
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:controllers:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:controllers:export')")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, NgIrrigationControllers ngIrrigationControllers)
|
||||
{
|
||||
@ -67,7 +67,7 @@ public class NgIrrigationControllersController extends BaseController
|
||||
/**
|
||||
* 获取灌溉控制器信息详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:controllers:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:controllers:query')")
|
||||
@GetMapping(value = "/{id}")
|
||||
@ApiOperation("获取灌溉控制器信息详细信息")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
@ -78,7 +78,7 @@ public class NgIrrigationControllersController extends BaseController
|
||||
/**
|
||||
* 新增灌溉控制器信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:controllers:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:controllers:add')")
|
||||
@PostMapping
|
||||
@ApiOperation("新增灌溉控制器信息")
|
||||
public AjaxResult add(@RequestBody NgIrrigationControllers ngIrrigationControllers)
|
||||
@ -89,7 +89,7 @@ public class NgIrrigationControllersController extends BaseController
|
||||
/**
|
||||
* 修改灌溉控制器信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:controllers:edit')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:controllers:edit')")
|
||||
@PutMapping
|
||||
@ApiOperation("修改灌溉控制器信息")
|
||||
public AjaxResult edit(@RequestBody NgIrrigationControllers ngIrrigationControllers)
|
||||
@ -100,7 +100,7 @@ public class NgIrrigationControllersController extends BaseController
|
||||
/**
|
||||
* 删除灌溉控制器信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:controllers:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:controllers:remove')")
|
||||
@DeleteMapping("/{ids}")
|
||||
@ApiOperation("删除灌溉控制器信息")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
|
@ -41,7 +41,7 @@ public class NgUrbanMuRightsController extends BaseController
|
||||
/**
|
||||
* 查询城镇亩均确权列表
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:rights:list')")
|
||||
//@PreAuthorize("@ss.hasPermi('rechargecard:rights:list')")
|
||||
@GetMapping("/list")
|
||||
@ApiOperation("查询城镇亩均确权列表")
|
||||
public TableDataInfo list(NgUrbanMuRights ngUrbanMuRights)
|
||||
@ -55,7 +55,7 @@ public class NgUrbanMuRightsController extends BaseController
|
||||
* 导出城镇亩均确权列表
|
||||
*/
|
||||
@ApiOperation("导出城镇亩均确权列表")
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:rights:export')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:rights:export')")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, NgUrbanMuRights ngUrbanMuRights)
|
||||
{
|
||||
@ -67,7 +67,7 @@ public class NgUrbanMuRightsController extends BaseController
|
||||
/**
|
||||
* 获取城镇亩均确权详细信息
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:rights:query')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:rights:query')")
|
||||
@GetMapping(value = "/{muRightsId}")
|
||||
@ApiOperation("获取城镇亩均确权详细信息")
|
||||
public AjaxResult getInfo(@PathVariable("muRightsId") Long muRightsId)
|
||||
@ -78,7 +78,7 @@ public class NgUrbanMuRightsController extends BaseController
|
||||
/**
|
||||
* 新增城镇亩均确权
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:rights:add')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:rights:add')")
|
||||
@PostMapping
|
||||
@ApiOperation("新增城镇亩均确权")
|
||||
public AjaxResult add(@RequestBody NgUrbanMuRights ngUrbanMuRights)
|
||||
@ -89,7 +89,7 @@ public class NgUrbanMuRightsController extends BaseController
|
||||
/**
|
||||
* 修改城镇亩均确权
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:rights:edit')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:rights:edit')")
|
||||
@PutMapping
|
||||
@ApiOperation("修改城镇亩均确权")
|
||||
public AjaxResult edit(@RequestBody NgUrbanMuRights ngUrbanMuRights)
|
||||
@ -100,7 +100,7 @@ public class NgUrbanMuRightsController extends BaseController
|
||||
/**
|
||||
* 删除城镇亩均确权
|
||||
*/
|
||||
@PreAuthorize("@ss.hasPermi('rechargecard:rights:remove')")
|
||||
// @PreAuthorize("@ss.hasPermi('rechargecard:rights:remove')")
|
||||
@DeleteMapping("/{muRightsIds}")
|
||||
@ApiOperation("删除城镇亩均确权")
|
||||
public AjaxResult remove(@PathVariable Long[] muRightsIds)
|
||||
|
Loading…
x
Reference in New Issue
Block a user