|
|
|
@ -88,6 +88,7 @@ public class CompServiceImpl extends Service implements CompService {
|
|
|
|
|
Map<String, Object> datas = new HashMap<>();
|
|
|
|
|
PageUtil.start(params.getCurrent(), params.getPageSize());
|
|
|
|
|
List<CompPO> parentList = getCompMapper().listParent();
|
|
|
|
|
PageInfo<CompPO> pageInfo = new PageInfo<>(parentList);
|
|
|
|
|
List<CompPO> list = new ArrayList<>();
|
|
|
|
|
list.addAll(parentList);
|
|
|
|
|
|
|
|
|
@ -100,7 +101,7 @@ public class CompServiceImpl extends Service implements CompService {
|
|
|
|
|
|
|
|
|
|
List<CompListDTO> compListDTOS = CompBO.buildCompDTOList(list, filterList);
|
|
|
|
|
PageInfo<CompListDTO> pageInfos = new PageInfo<>(compListDTOS, CompListDTO.class);
|
|
|
|
|
pageInfos.setTotal(pageInfos.getTotal());
|
|
|
|
|
pageInfos.setTotal(pageInfo.getTotal());
|
|
|
|
|
pageInfos.setPageNum(params.getCurrent());
|
|
|
|
|
pageInfos.setPageSize(params.getPageSize());
|
|
|
|
|
|
|
|
|
|