From 784af16411d97c3e14f81dd4ebf1380c8b9effb0 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 31 七月 2019 10:33:18 +0800 Subject: [PATCH] 智能推荐修改 --- fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java index e6ac7aa..f966d23 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/taobao/TaoBaoUtil.java @@ -705,6 +705,8 @@ tg.setReservePrice(tb.getReservePrice()); tg.setUserType(tb.getUserType()); tg.setShopTitle(tb.getShopTitle()); + tg.setTkRate(tb.getTkRate()); + tg.setSellerId(tb.getSellerId()); tg.setState(tb.getState()); // 鐘舵�侊細2018-12-03 if (tb.getCouponAmount().compareTo(BigDecimal.valueOf(0)) > 0) { @@ -1688,7 +1690,8 @@ MoneyBigDecimalUtil.getWithNoZera(detail.getQuanPrice()))); taoBaoGoods.setCouponLeftCount(detail.getQuanSurplus()); taoBaoGoods.setCouponStartFee(new BigDecimal(detail.getQuanCondition())); - taoBaoGoods.setCouponTotalCount(detail.getQuanSurplus()); + if (detail.getQuanReceive() != null) + taoBaoGoods.setCouponTotalCount(detail.getQuanSurplus() + detail.getQuanReceive()); taoBaoGoods.setPictUrl(detail.getPic()); taoBaoGoods.setPictUrlWhite(detail.getPic()); taoBaoGoods.setSellerId(detail.getSellerId()); -- Gitblit v1.8.0