fix task definition page info total count (#9354)
parent
40b73f7962
commit
4873ec8a45
|
|
@ -695,7 +695,6 @@ public class TaskDefinitionServiceImpl extends BaseServiceImpl implements TaskDe
|
|||
});
|
||||
}
|
||||
taskMainInfoIPage.setRecords(Lists.newArrayList(taskMainInfoMap.values()));
|
||||
taskMainInfoIPage.setTotal(taskMainInfoMap.values().size());
|
||||
}
|
||||
PageInfo<TaskMainInfo> pageInfo = new PageInfo<>(pageNo, pageSize);
|
||||
pageInfo.setTotal((int) taskMainInfoIPage.getTotal());
|
||||
|
|
|
|||
Loading…
Reference in New Issue