diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/basic/controller/BmAgreementInfoController.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/basic/controller/BmAgreementInfoController.java index 4845406d..37cbd708 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/basic/controller/BmAgreementInfoController.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/basic/controller/BmAgreementInfoController.java @@ -82,7 +82,7 @@ public class BmAgreementInfoController extends BaseController */ @ApiOperation(value = "新增协议管理") @PreventRepeatSubmit - //@RequiresPermissions("basic:info:add") + @RequiresPermissions("basic:info:add") @SysLog(title = "协议管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增协议管理") @PostMapping public AjaxResult add(@RequestBody BmAgreementInfo bmAgreementInfo) @@ -99,7 +99,7 @@ public class BmAgreementInfoController extends BaseController */ @ApiOperation(value = "修改协议管理") @PreventRepeatSubmit - //@RequiresPermissions("basic:info:edit") + @RequiresPermissions("basic:info:edit") @SysLog(title = "协议管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改协议管理") @PutMapping public AjaxResult edit(@RequestBody BmAgreementInfo bmAgreementInfo) @@ -112,7 +112,7 @@ public class BmAgreementInfoController extends BaseController */ @ApiOperation(value = "删除协议管理") @PreventRepeatSubmit - //@RequiresPermissions("basic:info:remove") + @RequiresPermissions("basic:info:remove") @SysLog(title = "协议管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除协议管理") @DeleteMapping("/{agreementId}") public AjaxResult remove(@PathVariable("agreementId") Long agreementId)