Commit 25b997f8 by 陶光胜

取数平台调整

parent 80b51748
......@@ -90,6 +90,7 @@ public class DownloadTaskServiceImpl implements IDownloadTaskService {
@Override
public Page<DownloadTask> getDownloadTaskPage(String userId, String fuzzy, Integer pageNum, Integer pageSize) {
checkTaskStatus("");
Page<DownloadTask> result = new Page<>();
PageHelper.startPage(pageNum, pageSize); // 设置分页参数
List<DownloadTask> query = downloadTaskDao.getDownloadTaskListByUserId(userId, fuzzy);
......@@ -98,7 +99,6 @@ public class DownloadTaskServiceImpl implements IDownloadTaskService {
result.setList(preResult.getList()); // 设置数据集
result.setTotal(preResult.getTotal()); // 设置总数
result.setPageNum(preResult.getPageNum()); // 设置当前页数
checkTaskStatus("");
return result;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment