Merge remote-tracking branch 'origin/main'

This commit is contained in:
liuzhaotian
2024-07-08 18:25:42 +08:00
5 changed files with 58 additions and 13 deletions
@@ -119,7 +119,7 @@ public class ProcessController {
@GetMapping("/select")
@Operation(summary = "查看当前登录用户的组织的工序信息")
@Parameter(name = "userId", description = "当前登录的用户ID", required = true, example = "1")
@PreAuthorize("@ss.hasPermission('system:process:query')")
@PreAuthorize("@ss.hasAnyPermissions('system:process:query','product:process:query')")
public CommonResult<List<ProcessDO>> getUserPage(@Valid @RequestParam("userId") Long userId) {
return success(processService.getUserProcess(userId));