系统配置,未排单,权限标识更改,优化生产锁单逻辑更改

This commit is contained in:
liuzhaotian
2025-01-17 12:26:14 +08:00
parent 166ebf430a
commit 2025f35965
6 changed files with 22 additions and 17 deletions
@@ -34,7 +34,7 @@ public class SystemConfigController {
@GetMapping()
@Operation(summary = "获得系统配置的分页列表")
@PreAuthorize("@ss.hasPermission('system:base-setting:query')")
@PreAuthorize("@ss.hasAnyPermissions('system:base-setting:query','unplannedOrders:query','placeorder:query')")
public CommonResult<List<ConfigRespVO>> getSystemConfigPage(@Valid ConfigPageReqVO pageReqVO) {
List<SystemConfigDO> pageResult = systemConfigService.getSystemConfigList(pageReqVO);
return success(BeanUtils.toBean(pageResult, ConfigRespVO.class));
@@ -42,7 +42,7 @@ public class SystemConfigController {
@GetMapping("/{id}")
@Operation(summary = "根据id查询系统配置")
@PreAuthorize("@ss.hasPermission('system:base-setting:query')")
@PreAuthorize("@ss.hasAnyPermissions('system:base-setting:query','unplannedOrders:query','placeorder:query')")
public CommonResult<ConfigRespVO> getSystemConfig(@PathVariable("id") Long id) {
SystemConfigDO systemConfigDO = systemConfigService.getSystemConfig(id);
return success(BeanUtils.toBean(systemConfigDO, ConfigRespVO.class));