|
|
@@ -50,7 +50,7 @@ public class QhseInfoServiceImpl implements QhseInfoService {
|
|
|
private DeptApi deptApi;
|
|
|
|
|
|
@Override
|
|
|
- public List<QhseInfoRespVO> getAllChildContentFile(IotInfoPageReqVO pageReqVO) {
|
|
|
+ public PageResult<QhseInfoDO> getAllChildContentFile(IotInfoPageReqVO pageReqVO) {
|
|
|
List<QhseFileTreeDO> contents = qhseFileTreeService.getChildTreeList(ImmutableList.of(pageReqVO.getClassId()));
|
|
|
// if (CollUtil.isNotEmpty(contents)) {
|
|
|
List<Long> contentIds = contents.stream().map(QhseFileTreeDO::getId).collect(Collectors.toList());
|
|
|
@@ -58,10 +58,9 @@ public class QhseInfoServiceImpl implements QhseInfoService {
|
|
|
QhseInfoPageReqVO infoPageReqVO = new QhseInfoPageReqVO();
|
|
|
infoPageReqVO.setPageNo(pageReqVO.getPageNo());
|
|
|
infoPageReqVO.setPageSize(pageReqVO.getPageSize());
|
|
|
- List<QhseInfoDO> files = qhseInfoMapper.selectPage(infoPageReqVO, contentIds).getList();
|
|
|
+ PageResult<QhseInfoDO> files = qhseInfoMapper.selectPage(infoPageReqVO, contentIds);
|
|
|
// }
|
|
|
- List<QhseInfoRespVO> infoRespVOS = dealFileVo(contents, files);
|
|
|
- return infoRespVOS;
|
|
|
+ return files;
|
|
|
}
|
|
|
|
|
|
@Override
|