diff --git a/src/main/java/com/ydool/oa/workFlow/engine/service/impl/BudgetWorkFlowService.java b/src/main/java/com/ydool/oa/workFlow/engine/service/impl/BudgetWorkFlowService.java index 3c4598c..1b73d66 100644 --- a/src/main/java/com/ydool/oa/workFlow/engine/service/impl/BudgetWorkFlowService.java +++ b/src/main/java/com/ydool/oa/workFlow/engine/service/impl/BudgetWorkFlowService.java @@ -69,6 +69,7 @@ public class BudgetWorkFlowService implements IWorkFlowType { public AjaxResult first(WorkFlow workFlow) { //是否维修上报角色 User user = userService.getById(workFlow.getUserId()); + // List roles = roleService.listByIds(Arrays.asList(user.getRoles().split(","))); // List roleNames = roles.stream().map(Role::getName).collect(Collectors.toList()); // if (!roleNames.contains("维修上报")) throw new ResultException("您不是维修上报人员");