class MgrProductServiceHelper {

    public List<ProductDTO> checkDumpHqProduct(List<HqProductCheckDO> list) {
        List<TblHqProduct> tblHqProducts = tblHqProductMapper.checkDumpHqProduct(list);
        if (CollectionUtils.isNotEmpty(tblHqProducts)) {
            return tblHqProducts.stream().map(this::buildProductDTO).collect(Collectors.toList());
        }
        return Lists.newArrayList();
    }

}