Przeglądaj źródła

//card

release_toaliyun_real
xhxu 3 lat temu
rodzic
commit
0c2f22317c
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxCardSpendServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxCardSpendServiceImpl.java Wyświetl plik

@@ -310,7 +310,7 @@ public class WxCardSpendServiceImpl implements WxCardSpendService {
if (null != orderUpdate.getCUserId() && (!Constant.defaultCUserId.equals(orderUpdate.getCUserId()))) {
// 成长值
try {
orderUpdate.setPayment(real_payment);
orderUpdate.setPayment(payment);
wxScoreRulesService.addScore2(coupon,EnumScoreType.CONSUMPTION, orderUpdate, coupon.getBusiness());
} catch (Exception e) {
logger.error("成长值:" + e.getMessage());
@@ -329,7 +329,7 @@ public class WxCardSpendServiceImpl implements WxCardSpendService {
creditHistory.setFinalTenantId(record.getFinalTenantId());
creditHistory.setCreditType(EnumScoreType.CONSUMPTION.getCode());
creditHistory.setBusinessId(coupon.getBusiness());
creditHistory.setSpend(real_payment);
creditHistory.setSpend(payment);
//如果券与商户一对一 则直接将消费商户更新为此商户 若一对多 则消费商户显示多商户
creditHistory.setMerchantId(record.getMerchantId());
WxMerchant wxMerchant = wxMerchantMapper.selectById(record.getMerchantId());


Ładowanie…
Anuluj
Zapisz