From bf43ff880aa36cced2f5d902a718d2292ff4179c Mon Sep 17 00:00:00 2001 From: xhxu Date: Fri, 14 Jan 2022 11:24:52 +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 | 3 +++ 1 file changed, 3 insertions(+) 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 ed19093b1..6ed12119a 100644 --- a/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java +++ b/mallinkService/src/main/java/com/iformall/service/impl/WxCouponChannelServiceImpl.java @@ -315,6 +315,9 @@ public class WxCouponChannelServiceImpl implements WxCouponChannelService { return null; } cids.retainAll(mcids); + if(cids.isEmpty()){ + return null; + } wxCouponChannel.setCouponIds(cids); List list = wxCouponChannelMapper.newfindCList(wxCouponChannel);