From 300d87d14d70a4eb305cb7eb839c3964d9bada45 Mon Sep 17 00:00:00 2001 From: xhxu Date: Fri, 14 Jan 2022 15:29:23 +0800 Subject: [PATCH] =?UTF-8?q?/=E3=80=81.optimize?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/iformall/service/impl/WxCouponChannelServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java index fde56040c..49dd2bed3 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java @@ -353,7 +353,7 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { @Override public List newfindListVo(WxCouponChannel wxCouponChannel) { handleCouponIds(wxCouponChannel); - if(-999L == wxCouponChannel.getId()){ + if(wxCouponChannel.getId() != null && wxCouponChannel.getId().equals(-999L)){ return new ArrayList<>(); } List list = wxCouponChannelMapper.newfindCList(wxCouponChannel);