工序加工列表接口的@PreAuthorize权限串修改

This commit is contained in:
gaoqr
2024-06-19 16:00:15 +08:00
parent 301c959082
commit c81cd4375d
@@ -119,7 +119,7 @@ public class ProcessController {
@GetMapping("/select")
@Operation(summary = "查看当前登录用户的组织的工序信息")
@Parameter(name = "userId", description = "当前登录的用户ID", required = true, example = "1")
@PreAuthorize("@ss.hasPermission('manage:process:select')")
@PreAuthorize("@ss.hasPermission('manage:process:query')")
public CommonResult<List<ProcessDO>> getUserPage(@Valid @RequestParam("userId") Long userId) {
return success(processService.getUserProcess(userId));