Sfoglia il codice sorgente

update gift

release_toaliyun_real
xhxu 4 anni fa
parent
commit
3cbf588c7d
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java Vedi File

@@ -341,7 +341,8 @@ public class WxCouponServiceImpl implements WxCouponService {

List<JSONObject> merchantParamList = JSONObject.parseArray(record.getMerchantParams(), JSONObject.class);
//有价券判断商户是否配置了分账账号
if (record.getSalePrice() != null && record.getSalePrice() > 0) {
if (!EnumCouponType.COUPON_GIFT.getCode().equals(record.getType())
&& record.getSalePrice() != null && record.getSalePrice() > 0) {
boolean share = false;
WxPayAccount payQ = new WxPayAccount();
payQ.updateTenantInfo(record);


Caricamento…
Annulla
Salva