From 2a138af9329196120409ed3a796108128df2a0c3 Mon Sep 17 00:00:00 2001 From: hupeng Date: Tue, 11 Jun 2019 16:01:00 +0800 Subject: [PATCH] =?UTF-8?q?[=E7=A7=AF=E5=88=86][=E4=BF=AE=E5=A4=8D]:?= =?UTF-8?q?=E6=A0=B8=E9=94=80=E5=A2=9E=E5=8A=A0=E7=A7=AF=E5=88=86=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxCouponOrderServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java index c5972e1fb..e436598b6 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java @@ -349,7 +349,7 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { creditHistory.setCreditType(EnumScoreType.CONSUMPTION.getCode()); creditHistory.setCouponId(wxCoupon.getId()); creditHistory.setBusinessId(Long.valueOf(wxCoupon.getBusiness())); - creditHistory.setSpend(couponOrder.getSalePrice()); + creditHistory.setSpend(couponOrder.getCouponPrice()); //如果券与商户一对一 则直接将消费商户更新为此商户 若一对多 则消费商户显示多商户 creditHistory.setMerchantId(bUser.getMerchantId()); wxCreditHistoryService.saveOrUpdate(creditHistory);