修复【流程管理】列表中,列表实际条数和总数不一致问题
This commit is contained in:
parent
44e83f3c16
commit
40cd371142
|
@ -208,7 +208,8 @@ public class ActivitiController extends BaseController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
processDefinitionList = processDefinitionQuery.listPage(Integer.valueOf(limit) * (Integer.valueOf(page) - 1), Integer.valueOf(limit));
|
processDefinitionList = processDefinitionQuery.listPage(Integer.valueOf(limit) * (Integer.valueOf(page) - 1), Integer.valueOf(limit));
|
||||||
long count = repositoryService.createDeploymentQuery().count();
|
long count = repositoryService.createProcessDefinitionQuery().count();
|
||||||
|
// long count = repositoryService.createDeploymentQuery().count();
|
||||||
List<ProcessDefinition> list = new ArrayList<>();
|
List<ProcessDefinition> list = new ArrayList<>();
|
||||||
processDefinitionList
|
processDefinitionList
|
||||||
.forEach(processDefinition -> list.add(new ProcessDefinition(processDefinition)));
|
.forEach(processDefinition -> list.add(new ProcessDefinition(processDefinition)));
|
||||||
|
|
Loading…
Reference in New Issue