Skip to content

Commit

Permalink
Change doc
Browse files Browse the repository at this point in the history
  • Loading branch information
enilu committed Aug 2, 2021
1 parent 288c435 commit 7ae5414
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
8 changes: 6 additions & 2 deletions docs/guide/other/changeLog.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
# change log
##Latest
##2.1
[gitee](https://gitee.com/enilu/web-flash/releases/2.1)
[github](https://github.com/enilu/web-flash/releases/tag/2.1)
### Issues
- Issue 启用keep-Alive保存标签页状态
- Change 路由模式由默认的hash调整为history
- Change pom.xml中去掉冗余的依赖
- Change 去掉maven冗余的依赖
- Change 完善单元测试
- Issue 集成activiti实现基本的工作流功能
- Change 完善代码生成器中controller生成模板中关于权限配置部分
### Fixes
- Fix #I3Z1QT 后端启动后,API接口访问不到后端,中途权限被拦截
- Fix #I271AB token验证失败后,弹出过多token过期提示
- Fix 初始化sql语句中菜单资源地址重复的问题

## 2.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ public WorkFlowRequest insert(WorkFlowRequest flowRequest) {
* @return
*/
public Page<WorkFlowRequest> queryTask(Page<WorkFlowRequest> page, List<String> roleNames) {

// roleNames = Lists.newArrayList();
// roleNames.add("zhangsan");
TaskQuery taskQuery = taskService.createTaskQuery();
List<Task> tasks = taskQuery.taskAssigneeIds(roleNames).listPage(page.getOffset(), page.getLimit());
Long count = taskQuery.count();
Expand All @@ -80,8 +77,10 @@ public Page<WorkFlowRequest> queryTask(Page<WorkFlowRequest> page, List<String>
for (Task task : tasks) {
String processInstanceId = task.getProcessInstanceId();
WorkFlowRequest flowRequest = get(SearchFilter.build("instanceId", processInstanceId));
flowRequests.add(flowRequest);
flowRequest.setTaskId(task.getId());
if(flowRequest!=null) {
flowRequests.add(flowRequest);
flowRequest.setTaskId(task.getId());
}
}
page.setRecords(flowRequests);
logger.info(JsonUtil.toJson(page));
Expand Down

0 comments on commit 7ae5414

Please sign in to comment.