From c6fe07392f330bd9449e3ae16a104576b088c3d5 Mon Sep 17 00:00:00 2001 From: hupeng Date: Fri, 14 Dec 2018 11:03:59 +0800 Subject: [PATCH] =?UTF-8?q?[A=E7=AB=AF][=E4=BF=AE=E5=A4=8D]:=E4=BD=9C?= =?UTF-8?q?=E5=BA=9F=E5=88=B8=E6=97=B6=E5=80=99=E7=9A=84=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/iformall/service/impl/WxCouponServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();