| | |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @param classId |
| | | * 分类id |
| | | * @param labId |
| | | * 标签id |
| | | * @return |
| | | */ |
| | |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @param labId |
| | | * @return |
| | | */ |
| | | public List<QualityFactory> listQueryByKeyAndlabIDs(long start, int count, String key, List<Long> listId, |
| | |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @param labId |
| | | * @return |
| | | */ |
| | | @Override |
| | |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @param labId |
| | | * @return |
| | | */ |
| | | @Override |
| | |
| | | */ |
| | | @Override |
| | | @Cacheable(value = "qualityCache", key = "'getRecommendToIndexV2-'+#start+'-'+#platform+'-'+#version+'-'+#system") |
| | | public JSONArray getRecommendToIndexV2(long start, int count, String platform, String version, SystemEnum system) { |
| | | public List<GoodsDetailVO> getRecommendToIndexV2(long start, int count, String platform, String version, SystemEnum system) { |
| | | |
| | | // 返利金额2元以上; |
| | | Integer commision = 2; |
| | |
| | | return null; |
| | | } |
| | | |
| | | JSONArray array = new JSONArray(); |
| | | List<GoodsDetailVO> voList=new ArrayList<>(); |
| | | Gson gson = JsonUtil.getConvertBigDecimalToStringSubZeroBuilder(new GsonBuilder()).create(); |
| | | // 遍历列表数据 |
| | | // |
| | |
| | | |
| | | for (TaoBaoGoodsBrief taoBaoGoodsBrief : goodsList) { |
| | | GoodsDetailVO detailVO = GoodsDetailVOFactory.convertTaoBao(taoBaoGoodsBrief, paramsDTO); |
| | | array.add(gson.toJson(detailVO)); |
| | | voList.add(detailVO); |
| | | } |
| | | |
| | | return array; |
| | | return voList; |
| | | } |
| | | |
| | | @Override |
| | |
| | | } |
| | | |
| | | @Override |
| | | public List<QualityFactory> recommendByAuctionId(Long auctionId) { |
| | | public List<QualityFactory> recommendByAuctionId(String auctionId) { |
| | | |
| | | List<Long> list = new ArrayList<Long>(); |
| | | List<String> list = new ArrayList<>(); |
| | | list.add(auctionId); |
| | | List<QualityFactory> listTaoBaoGoods = qualityFactoryMapper.listQueryByAuctionId(list); |
| | | |
| | |
| | | return null; |
| | | } |
| | | |
| | | List<LabelGoods> listLab = labelGoodsMapper.queryByGoodsId(0, 200, goodsBrief.getId()); |
| | | List<LabelGoods> listLab = labelGoodsMapper.queryByGoodsId(0, 200, goodsBrief.getAuctionId()); |
| | | if (listLab == null || listLab.size() == 0) { |
| | | return null; |
| | | } |