协议新增、修改、删除权限
This commit is contained in:
parent
794569f225
commit
9b4e0ce504
|
|
@ -82,7 +82,7 @@ public class BmAgreementInfoController extends BaseController
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "新增协议管理")
|
@ApiOperation(value = "新增协议管理")
|
||||||
@PreventRepeatSubmit
|
@PreventRepeatSubmit
|
||||||
//@RequiresPermissions("basic:info:add")
|
@RequiresPermissions("basic:info:add")
|
||||||
@SysLog(title = "协议管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增协议管理")
|
@SysLog(title = "协议管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增协议管理")
|
||||||
@PostMapping
|
@PostMapping
|
||||||
public AjaxResult add(@RequestBody BmAgreementInfo bmAgreementInfo)
|
public AjaxResult add(@RequestBody BmAgreementInfo bmAgreementInfo)
|
||||||
|
|
@ -99,7 +99,7 @@ public class BmAgreementInfoController extends BaseController
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "修改协议管理")
|
@ApiOperation(value = "修改协议管理")
|
||||||
@PreventRepeatSubmit
|
@PreventRepeatSubmit
|
||||||
//@RequiresPermissions("basic:info:edit")
|
@RequiresPermissions("basic:info:edit")
|
||||||
@SysLog(title = "协议管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改协议管理")
|
@SysLog(title = "协议管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改协议管理")
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public AjaxResult edit(@RequestBody BmAgreementInfo bmAgreementInfo)
|
public AjaxResult edit(@RequestBody BmAgreementInfo bmAgreementInfo)
|
||||||
|
|
@ -112,7 +112,7 @@ public class BmAgreementInfoController extends BaseController
|
||||||
*/
|
*/
|
||||||
@ApiOperation(value = "删除协议管理")
|
@ApiOperation(value = "删除协议管理")
|
||||||
@PreventRepeatSubmit
|
@PreventRepeatSubmit
|
||||||
//@RequiresPermissions("basic:info:remove")
|
@RequiresPermissions("basic:info:remove")
|
||||||
@SysLog(title = "协议管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除协议管理")
|
@SysLog(title = "协议管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除协议管理")
|
||||||
@DeleteMapping("/{agreementId}")
|
@DeleteMapping("/{agreementId}")
|
||||||
public AjaxResult remove(@PathVariable("agreementId") Long agreementId)
|
public AjaxResult remove(@PathVariable("agreementId") Long agreementId)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue