【项目查询列表全数据查询】
This commit is contained in:
parent
7b2e488882
commit
d6f7618ba9
@ -44,7 +44,7 @@ public class ProjectServiceImpl implements ProjectService {
|
|||||||
PageHelper.startPage(queryVO.getPageNum(), queryVO.getPageSize());
|
PageHelper.startPage(queryVO.getPageNum(), queryVO.getPageSize());
|
||||||
ProjectExample projectExample = new ProjectExample();
|
ProjectExample projectExample = new ProjectExample();
|
||||||
projectExample.createCriteria().andStatusEqualTo(EFFECT_PROJECT_STATUS);
|
projectExample.createCriteria().andStatusEqualTo(EFFECT_PROJECT_STATUS);
|
||||||
Page<Project> page = (Page<Project>) projectDAO.selectByExample(projectExample);
|
Page<Project> page = (Page<Project>) projectDAO.selectWithBLOBsByExample(projectExample);
|
||||||
return PageVO.convert(page, page.getResult());
|
return PageVO.convert(page, page.getResult());
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -117,7 +117,7 @@ public class ProjectServiceImpl implements ProjectService {
|
|||||||
PageHelper.startPage(queryVO.getPageNum(), queryVO.getPageSize());
|
PageHelper.startPage(queryVO.getPageNum(), queryVO.getPageSize());
|
||||||
ProjectViewExample projectViewExample = new ProjectViewExample();
|
ProjectViewExample projectViewExample = new ProjectViewExample();
|
||||||
projectViewExample.createCriteria().andStatusEqualTo(EFFECT_PROJECT_STATUS);
|
projectViewExample.createCriteria().andStatusEqualTo(EFFECT_PROJECT_STATUS);
|
||||||
Page<ProjectView> page = (Page<ProjectView>) projectViewDAO.selectByExample(projectViewExample);
|
Page<ProjectView> page = (Page<ProjectView>) projectViewDAO.selectWithBLOBsByExample(projectViewExample);
|
||||||
return PageVO.convert(page, page.getResult());
|
return PageVO.convert(page, page.getResult());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user