协议新增、修改、删除权限

This commit is contained in:
hayu 2025-11-07 17:10:59 +08:00
parent 794569f225
commit 9b4e0ce504
1 changed files with 3 additions and 3 deletions

View File

@ -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)