diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java index b2e09dd34..4709304dd 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java @@ -138,7 +138,7 @@ public class WxCouponServiceImpl implements WxCouponService { wxCouponMapper.insertSelective(record); } else { - if (!record.getMerchantParams().isEmpty()) { + if (record.getMerchantParams() != null) { List merchantParamList = JSONObject.parseArray(record.getMerchantParams(), JSONObject.class); WxCouponMerchant cmParam = new WxCouponMerchant();