|
|
|
@ -32,7 +32,7 @@ public class SearchInformationDomainServiceImpl implements SearchInformationDoma |
|
|
|
} |
|
|
|
|
|
|
|
LambdaQueryWrapper<InformationEntity> queryWrapper = new LambdaQueryWrapper<>(); |
|
|
|
queryWrapper.orderByDesc(InformationEntity::getCreateTime); |
|
|
|
queryWrapper.orderByDesc(InformationEntity::getId); |
|
|
|
queryWrapper.eq(InformationEntity::getSubLineId, informationParam.getSubLineId()); |
|
|
|
List<InformationDTO> informationDTOList = informationMapper.selectList(queryWrapper) |
|
|
|
.stream().map(informationEntity -> informationEntity.toDTO(InformationDTO::new)).collect(Collectors.toList()); |
|
|
|
|