use of vip.mate.system.poi.SysClientPOI in project matecloud by matevip.
the class SysClientServiceImpl method export.
@Override
public List<SysClientPOI> export() {
LambdaQueryWrapper<SysClient> queryWrapper = new LambdaQueryWrapper<>();
queryWrapper.eq(SysClient::getIsDeleted, 0);
List<SysClient> sysClients = this.baseMapper.selectList(queryWrapper);
return sysClients.stream().map(sysClient -> {
SysClientPOI sysClientPOI = new SysClientPOI();
BeanUtils.copyProperties(sysClient, sysClientPOI);
return sysClientPOI;
}).collect(Collectors.toList());
}
Aggregations