Commit 0fda7df9 by zhiwj

bug

parent 334b8b99
......@@ -82,7 +82,7 @@ public class ProjectItemApiServiceImpl implements ProjectItemApiService {
public ServiceResponse<Page<ProjectItemDTO>> listProjectItem(ProjectItemQO projectItemQO) {
com.github.pagehelper.Page page = projectItemService.listProjectItem(projectItemQO);
Page<ProjectItemDTO> dtoPage = PageHelperUtils.changePageHelperToCurrentPage(page, ProjectItemDTO.class);
List<ProjectItemDTO> resultList = page.getResult();
List<ProjectItemDTO> resultList = dtoPage.getResult();
if (CollectionUtils.isNotEmpty(resultList)) {
for (int i = 0; i < resultList.size(); i++) {
resultList.get(i).setSeq(1 + i);
......
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