| | |
| | | @Override
|
| | | @Cacheable(value = "qualityCache", key = "'listQueryByClassId-'+#start+'-'+#cid")
|
| | | public List<QualityFactory> listQueryByClassId(long start, int count, Long cid) {
|
| | | return qualityFactoryMapper.listQuery(start, count, null, cid, null, null, 1);
|
| | | List<QualityFactory> list = qualityFactoryMapper.listQuery(start, count, null, cid, null, null, 1);
|
| | | List<TaoBaoGoodsBrief> goodsList = new ArrayList<>();
|
| | | for (QualityFactory qf : list)
|
| | | goodsList.add(qf.getTaoBaoGoodsBrief());
|
| | | goodsList = daTaoKeGoodsDetailService.filterTaoBaoGoods(goodsList);// 过滤大淘客标题
|
| | | for (int i = 0; i < list.size(); i++) {
|
| | | if (i < goodsList.size())
|
| | | list.get(i).setTaoBaoGoodsBrief(goodsList.get(i));
|
| | |
|
| | | }
|
| | | return list;
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | if (quality.getTaoBaoGoodsBrief() != null)
|
| | | goodsList.add(quality.getTaoBaoGoodsBrief());
|
| | | }
|
| | | |
| | |
|
| | | try {
|
| | | goodsList = daTaoKeGoodsDetailService.filterTaoBaoGoods(goodsList);
|
| | | } catch (Exception e) {
|