mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 12:52:07 +08:00
配件权限配置修改
This commit is contained in:
+2
-2
@@ -89,7 +89,7 @@ public class PartsController {
|
||||
|
||||
@GetMapping("/page")
|
||||
@Operation(summary = "获得配件分页")
|
||||
@PreAuthorize("@ss.hasAnyPermissions('manage:parts:query','base:accessory:query')")
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:accessory:query','base:accessory:query')")
|
||||
public CommonResult<PageResult<PartsRespVO>> getPage(@Valid PartsPageReqVO pageReqVO) {
|
||||
PageResult<PartsDO> pageResult = partsService.getPage(pageReqVO);
|
||||
return success(BeanUtils.toBean(pageResult, PartsRespVO.class));
|
||||
@@ -97,7 +97,7 @@ public class PartsController {
|
||||
|
||||
@GetMapping("/export-excel")
|
||||
@Operation(summary = "导出配件文件")
|
||||
@PreAuthorize("@ss.hasAnyPermissions('manage:parts:export','base:accessory:export')")
|
||||
@PreAuthorize("@ss.hasAnyPermissions('system:accessory:export','base:accessory:export')")
|
||||
@OperateLog(type = EXPORT)
|
||||
public void exportExcel(@Valid PartsPageReqVO pageReqVO,
|
||||
HttpServletResponse response) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user