diff --git a/README.md b/README.md
index 6b62410..9dbe60c 100644
--- a/README.md
+++ b/README.md
@@ -2,35 +2,9 @@
基RuoYi-vue + flowable 6.7.2 的工作流管理 ~
-记得右上角点个 star 持续关注更新哟~~
+## 软件说明
+Java 1.8
-一直想学习和入门flowable, 期间大量面向百度编程解决了很多问题, 感谢 [flowable初级使用手册](https://www.shangmayuan.com/a/538a0b230dbe4798b273305b.html)
-,零基础学习很值得一看。最后感谢 [若依框架](https://gitee.com/y_project/RuoYi-Vue) ,快速集成开发爽到飞起 ~~~
-
-## 需求收集
-
-[有好的idea, 点击这里提交吧!](https://www.yuque.com/u1024153/icipor/lmnloc)
-
-## 演示地址
-
-- 学习版本演示:http://www.tony2y.top
-- 完善版本演示:http://pro.tony2y.top
-- 使用文档:https://www.yuque.com/u1024153/icipor
-
-##### 为了方便体验,请勿删除和改动初始化的几个流程和表单,感谢!有其它流程实现,请自行定义新流程、表单。
-
-## 其它业务系统
-
-- [[ 智慧农业认养系统 ]](https://gitee.com/tony2y/smart-breed):基于Java + SpringBoot + Mybatis Plus + Redis + Vue + antdv,支持认养、商城、营销、会员、进销存、多租户等功能,包含小程序,系统管理后台。
-
-
-## 工作流交流群
-
-QQ群: [![加入QQ群](https://img.shields.io/badge/782924350-blue.svg)](https://jq.qq.com/?_wv=1027&k=2zE87c2G) 点击按钮入群。
-## 项目地址
-Gitee:https://gitee.com/tony2y/RuoYi-flowable.git
-
-GitHub:https://github.com/tony2y/RuoYi-flowable.git
* 前端采用Vue、Element UI。
* 后端采用Spring Boot、Spring Security、Redis & Jwt。
@@ -47,20 +21,3 @@ GitHub:https://github.com/tony2y/RuoYi-flowable.git
* 表单配置
* 流程发起
* 流转处理
-## 请作者喝杯咖啡 ~ (*^▽^*)
-
-![img.png](img.png)
-
-## 演示图
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/IFlowTaskServiceTest.java b/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/IFlowTaskServiceTest.java
new file mode 100644
index 0000000..1639004
--- /dev/null
+++ b/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/IFlowTaskServiceTest.java
@@ -0,0 +1,10 @@
+//package com.ruoyi.flowable.service;
+//
+//import static org.junit.jupiter.api.Assertions.*;
+//
+//class IFlowTaskServiceTest {
+//
+// @org.junit.jupiter.api.Test
+// void todoList() {
+// }
+//}
\ No newline at end of file
diff --git a/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/impl/FlowTaskServiceImpl.java b/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/impl/FlowTaskServiceImpl.java
index 69089fb..08334bd 100644
--- a/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/impl/FlowTaskServiceImpl.java
+++ b/ruoyi-flowable/src/main/java/com/ruoyi/flowable/service/impl/FlowTaskServiceImpl.java
@@ -569,11 +569,12 @@ public class FlowTaskServiceImpl extends FlowServiceFactory implements IFlowTask
@Override
public AjaxResult todoList(Integer pageNum, Integer pageSize) {
Page page = new Page<>();
- Long userId = SecurityUtils.getLoginUser().getUser().getUserId();
+ SysUser user = SecurityUtils.getLoginUser().getUser();
+ List roleIds = user.getRoles().stream().map(e->e.getRoleId().toString()).collect(Collectors.toList());
TaskQuery taskQuery = taskService.createTaskQuery()
.active()
.includeProcessVariables()
-// .taskAssignee(userId.toString())
+ .taskCandidateGroupIn(roleIds)
.orderByTaskCreateTime().desc();
page.setTotal(taskQuery.count());
List taskList = taskQuery.listPage(pageSize * (pageNum - 1), pageSize);
diff --git a/ruoyi-ui/README.md b/ruoyi-ui/README.md
index a857617..542532e 100644
--- a/ruoyi-ui/README.md
+++ b/ruoyi-ui/README.md
@@ -7,9 +7,6 @@ git clone https://gitee.com/y_project/RuoYi-Vue
# 进入项目目录
cd ruoyi-ui
-# 安装依赖
-npm install
-
# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org