fix:业务参数字典权限调整

This commit is contained in:
FCL
2025-11-28 17:43:12 +08:00
parent d6fc03b199
commit 39d720c1df

View File

@@ -112,7 +112,7 @@ public class DictionaryBusinessController implements BusinessControllerMarker {
@GetMapping("/get")
@Operation(summary = "获得业务参数字典")
@Parameter(name = "id", description = "编号", required = true, example = "1024")
@PreAuthorize("@ss.hasPermission('qms:dictionary-business:query')")
// @PreAuthorize("@ss.hasPermission('qms:dictionary-business:query')")
public CommonResult<DictionaryBusinessRespVO> getDictionaryBusiness(@RequestParam("id") Long id) {
DictionaryBusinessDO dictionaryBusiness = dictionaryBusinessService.getDictionaryBusiness(id);
return success(BeanUtils.toBean(dictionaryBusiness, DictionaryBusinessRespVO.class));
@@ -120,7 +120,7 @@ public class DictionaryBusinessController implements BusinessControllerMarker {
@GetMapping("/page")
@Operation(summary = "获得业务参数字典分页")
@PreAuthorize("@ss.hasPermission('qms:dictionary-business:query')")
// @PreAuthorize("@ss.hasPermission('qms:dictionary-business:query')")
public CommonResult<PageResult<DictionaryBusinessRespVO>> getDictionaryBusinessPage(@Valid DictionaryBusinessPageReqVO pageReqVO) {
PageResult<DictionaryBusinessDO> pageResult = dictionaryBusinessService.getDictionaryBusinessPage(pageReqVO);
return success(BeanUtils.toBean(pageResult, DictionaryBusinessRespVO.class));