| | |
| | | for (String auctionIdStr : idStr) { |
| | | scanHistoryV2Service.deleteByAuctionIdAndDeviceOrUid( |
| | | StringUtil.isNullOrEmpty(uid) ? null : Long.parseLong(uid), acceptData.getDevice(), |
| | | Long.parseLong(auctionIdStr)); |
| | | auctionIdStr); |
| | | } |
| | | } else { |
| | | scanHistoryV2Service.deleteByDeviceOrUid(StringUtil.isNullOrEmpty(uid) ? null : Long.parseLong(uid), |
| | |
| | | } |
| | | |
| | | if (goods.getTkRate() == null || new BigDecimal(0).compareTo(goods.getTkRate()) == 0) { |
| | | TaoBaoGoodsBrief linkInfo = TaoKeApiUtil.specialConvertCoupon(goods.getAuctionId(), app, null, null); |
| | | TaoBaoGoodsBrief linkInfo = TaoKeApiUtil.specialConvertCouponV2(goods.getAuctionId(), app, null, null); |
| | | if (linkInfo != null) { |
| | | goods.setAuctionUrl(linkInfo.getAuctionUrl()); |
| | | goods.setCouponLink(linkInfo.getCouponLink()); |
| | |
| | | } |
| | | |
| | | if (taoBaoGoodsBrief == null) { |
| | | TaoBaoGoodsBrief newGoods = TaoKeApiUtil.specialConvertCoupon(goods.getAuctionId(), app, null, null); |
| | | TaoBaoGoodsBrief newGoods = TaoKeApiUtil.specialConvertCouponV2(goods.getAuctionId(), app, null, null); |
| | | goods.setCouponInfo(newGoods.getCouponInfo()); |
| | | goods.setCouponLink(newGoods.getCouponLink()); |
| | | goods.setTkRate(newGoods.getTkRate()); |