Browse Source

[券][修改][作废券不用判断商户是否配置了分账账号]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
3a0da6a034
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

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

@@ -207,7 +207,7 @@ public class WxCouponServiceImpl implements WxCouponService {

List<JSONObject> merchantParamList = JSONObject.parseArray(record.getMerchantParams(), JSONObject.class);
//有价券判断商户是否配置了分账账号
if (record.getSalePrice() > 0) {
if (record.getSalePrice() != null && record.getSalePrice() > 0) {
StringBuffer sb = new StringBuffer();
boolean flag = false;
for (int i = 0, size = merchantParamList.size(); i < size; i++) {


Loading…
Cancel
Save