| | |
| | | }
|
| | |
|
| | | } catch (TaobaoGoodsDownException e) {
|
| | | offlineTaoBaoGoods(goods.getAuctionId());
|
| | | offlineTaoBaoGoods(goods.getAuctionId());
|
| | | } catch (Exception e) {
|
| | |
|
| | | }
|
| | |
| | |
|
| | | @Transactional
|
| | | @Override
|
| | | public void offlineTaoBaoGoods(Long auctionId) {
|
| | | public void offlineTaoBaoGoods(Long auctionId) {
|
| | | // 删除首页推荐数据
|
| | | recommendSectionGoodsService.deleteRecommendSectionGoodsByTbAuctionId(auctionId);
|
| | | // 更新动态数据
|
| | |
| | | taoBaoGoodsBriefMapper.updateByPrimaryKeySelective(updateGoods);
|
| | |
|
| | | }
|
| | |
|
| | | // 更新动态商品
|
| | | activityService.updateRecommendActivityGoods(goods);
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | // 更新标题,商品图片,销量,价格,券信息,返利信息,店铺信息,分类信息
|
| | | updateGoods.setTitle(goods.getTitle());
|
| | | updateGoods.setPictUrl(goods.getPictUrl());
|
| | | updateGoods.setPictUrlWhite(goods.getPictUrlWhite());
|
| | | updateGoods.setImgList(goods.getImgList());
|
| | | updateGoods.setBiz30day(goods.getBiz30day());
|
| | | updateGoods.setZkPrice(goods.getZkPrice());
|