Browse Source

update gift

release_toaliyun_real
xhxu 4 years ago
parent
commit
3cbf588c7d
1 changed files with 2 additions and 1 deletions
  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 View File

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


List<JSONObject> merchantParamList = JSONObject.parseArray(record.getMerchantParams(), JSONObject.class); 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; boolean share = false;
WxPayAccount payQ = new WxPayAccount(); WxPayAccount payQ = new WxPayAccount();
payQ.updateTenantInfo(record); payQ.updateTenantInfo(record);


Loading…
Cancel
Save