|
|
|
@@ -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); |
|
|
|
|