diff --git a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java index 10d06a73..d2122e3d 100644 --- a/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java +++ b/renren-admin/src/main/java/io/renren/modules/activiti/service/ActTaskService.java @@ -121,7 +121,7 @@ public class ActTaskService extends BaseServiceImpl { } } taskQuery.orderByTaskCreateTime().desc(); - List list = taskQuery.listPage((curPage - 1) * limit, limit); + List list = taskQuery.active().listPage((curPage - 1) * limit, limit); List listDto = new ArrayList<>(); for (Task task : list) { TaskDTO dto = new TaskDTO();