From 4c17a1c41657105e5ec0f8c7be5e236c297b913e Mon Sep 17 00:00:00 2001 From: mi9688 Date: Thu, 19 Dec 2024 19:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=81=8C=E6=BA=89=E7=94=A8=E6=B0=B4=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=9D=83=E9=99=90=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../UserIrrigationRecordController.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java index 59ef354..2434c40 100644 --- a/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java +++ b/fastbee-open-api/src/main/java/com/fastbee/data/controller/userRecharge/UserIrrigationRecordController.java @@ -42,7 +42,7 @@ public class UserIrrigationRecordController extends BaseController /** * 查询灌溉记录列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") @GetMapping("/list") @ApiOperation("查询灌溉记录列表") public TableDataInfo list(UserIrrigationRecord userIrrigationRecord) @@ -55,7 +55,7 @@ public class UserIrrigationRecordController extends BaseController /** * 获取用户灌溉记录详细信息列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") @GetMapping(value = "/list/{cardNumber}") @ApiOperation("获取灌溉记录详细信息") public AjaxResult getInfo(@PathVariable("cardNumber") String cardNumber) @@ -66,7 +66,7 @@ public class UserIrrigationRecordController extends BaseController /** * 获取用户灌溉记录展示详细信息列表 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:list')") @GetMapping("/list/show") @ApiOperation("查询灌溉记录列表") public TableDataInfo Showlist(UserIrrigationRecord userIrrigationRecord) @@ -94,7 +94,7 @@ public class UserIrrigationRecordController extends BaseController * 导出灌溉记录列表 */ @ApiOperation("导出灌溉记录列表") - @PreAuthorize("@ss.hasPermi('rechargecard:record:export')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:export')") @PostMapping("/export") public void export(HttpServletResponse response, UserIrrigationRecord userIrrigationRecord) { @@ -106,7 +106,7 @@ public class UserIrrigationRecordController extends BaseController /** * 获取灌溉记录详细信息 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:query')") @GetMapping(value = "/{id}") @ApiOperation("获取灌溉记录详细信息") public AjaxResult getInfo(@PathVariable("id") Long id) @@ -117,7 +117,7 @@ public class UserIrrigationRecordController extends BaseController /** * 新增灌溉记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:add')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:add')") @PostMapping @ApiOperation("新增灌溉记录") public AjaxResult add(@RequestBody UserIrrigationRecord userIrrigationRecord) @@ -128,7 +128,7 @@ public class UserIrrigationRecordController extends BaseController /** * 修改灌溉记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:edit')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:edit')") @PutMapping @ApiOperation("修改灌溉记录") public AjaxResult edit(@RequestBody UserIrrigationRecord userIrrigationRecord) @@ -139,7 +139,7 @@ public class UserIrrigationRecordController extends BaseController /** * 删除灌溉记录 */ - @PreAuthorize("@ss.hasPermi('rechargecard:record:remove')") +// @PreAuthorize("@ss.hasPermi('rechargecard:record:remove')") @DeleteMapping("/{ids}") @ApiOperation("删除灌溉记录") public AjaxResult remove(@PathVariable Long[] ids)