| | |
| | | UserShareGoodsHistory update = new UserShareGoodsHistory();
|
| | | update.setId(userShareGoodsHistory.getId());
|
| | | userShareGoodsHistory.setTkCode(history.getTkCode());
|
| | | userShareGoodsHistory.setCreateTime(new Date());
|
| | | userShareGoodsHistoryMapper.updateByPrimaryKeySelective(userShareGoodsHistory);
|
| | | } else
|
| | | userShareGoodsHistoryMapper.insertSelective(history);
|
| | |
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | }
|
| | | TaoBaoGoodsBrief goods = null;
|
| | | try {
|
| | | //测试
|
| | | // info.setAdzoneId("123");
|
| | | goods = TaoKeApiUtil.searchGoodsDetail(auctionId, info);
|
| | | } catch (TaobaoGoodsDownException e) {
|
| | | throw new ShareGoodsException(4, "商品已下架");
|