From 40cd3711424c304abdd350e159dc9172a022aede Mon Sep 17 00:00:00 2001 From: "longxiaonan@163.com" Date: Sun, 29 Sep 2019 11:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E3=80=91=E5=88=97=E8=A1=A8=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E5=AE=9E=E9=99=85=E6=9D=A1=E6=95=B0=E5=92=8C?= =?UTF-8?q?=E6=80=BB=E6=95=B0=E4=B8=8D=E4=B8=80=E8=87=B4=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/len/controller/ActivitiController.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)));