Commit 4d881390 by guojuxing

管理员数据转移

parent ba6784a8
......@@ -47,7 +47,7 @@ public class ManagerDataUtils {
public static Page<UserDataShowDTO> queryDataFromLocal(Integer dataType, Integer userId, Integer pageNum, Integer pageSize) {
UserDataShowService userDataShowService = ApplicationContextUtils.getBean("userDataShowService");
com.github.pagehelper.Page page = userDataShowService.page(dataType, userId, pageNum, pageSize);
Page<UserDataShowDTO> resultPage = PageHelperUtils.changePageHelperToCurrentPage(page);
Page<UserDataShowDTO> resultPage = PageHelperUtils.changePageHelperToCurrentPage(page, UserDataShowDTO.class);
return resultPage;
}
}
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