Commit 8643e3ea authored by mcb's avatar mcb

commit

parent c2c9156e
......@@ -111,7 +111,9 @@ public class OfflineSynchServiceImpl implements OfflineSynchService {
@Override
public PageInfoResponse<TaskListPageDto> queryTaskListPage(TaskListPageReq taskListPageReq) throws Exception {
PageInfoResponse<TaskListPageDto> pageInfoResponse = new PageInfoResponse<>();
if (StringUtils.isNotEmpty(taskListPageReq.getTreeName())) {
taskListPageReq.setTreeName(taskListPageReq.getTreeName().trim());
}
PageHelper.startPage(taskListPageReq.getPageNum(), taskListPageReq.getPageSize());
List<TaskListPageDto> list = offlineSynchDao.selectOfflineTaskInfo(taskListPageReq);
PageInfo<TaskListPageDto> pageInfo = new PageInfo<>(list);
......
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