diff --git a/len-activiti/src/main/java/com/len/controller/ActivitiController.java b/len-activiti/src/main/java/com/len/controller/ActivitiController.java index a75d377..a3802be 100644 --- a/len-activiti/src/main/java/com/len/controller/ActivitiController.java +++ b/len-activiti/src/main/java/com/len/controller/ActivitiController.java @@ -208,7 +208,8 @@ public class ActivitiController extends BaseController { } } 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 list = new ArrayList<>(); processDefinitionList .forEach(processDefinition -> list.add(new ProcessDefinition(processDefinition)));