|
|
|
@@ -73,7 +73,7 @@ public class WxTopicServiceImpl implements WxTopicService { |
|
|
|
if(wxTopic == null && !EnumWxTopicType.SPECIAL_TOPIC.getCode().equals(record.getTopicType())){ |
|
|
|
wxTopic = record; |
|
|
|
} |
|
|
|
if(wxTopic != null) { |
|
|
|
if(wxTopic != null && !EnumYesOrNo.YES.getCode().equals(wxTopic.getIsOnlyAd())) { |
|
|
|
addCouponList(wxTopic); |
|
|
|
} |
|
|
|
return wxTopic; |
|
|
|
@@ -83,7 +83,9 @@ public class WxTopicServiceImpl implements WxTopicService { |
|
|
|
public List<WxTopic> showList(WxTopic record) { |
|
|
|
List<WxTopic> topicList = wxTopicMapper.showList(record); |
|
|
|
for (WxTopic topic:topicList) { |
|
|
|
addCouponList(topic); |
|
|
|
if(!EnumYesOrNo.YES.getCode().equals(topic.getIsOnlyAd())){ |
|
|
|
addCouponList(topic); |
|
|
|
} |
|
|
|
} |
|
|
|
return topicList; |
|
|
|
} |
|
|
|
|