Commit 41bd816b by shenjunjie

Merge branch 'feature' into 'dev'

修复isCollect为空bug

See merge request !19
parents f77f2d5d 77814def
...@@ -485,7 +485,7 @@ public class ChannelServiceImpl implements ChannelService { ...@@ -485,7 +485,7 @@ public class ChannelServiceImpl implements ChannelService {
jsonObject.put("articlesCount", channel.getArticleCount()); jsonObject.put("articlesCount", channel.getArticleCount());
jsonObject.put("eventCount", channel.getEventCount()); jsonObject.put("eventCount", channel.getEventCount());
jsonObject.put("channelTag", channelTagDao.getTagByChannelName(channel.getSource())); jsonObject.put("channelTag", channelTagDao.getTagByChannelName(channel.getSource()));
if (channel.getIsCollect()) { if (Boolean.TRUE.equals(channel.getIsCollect())) {
jsonObject.put("collectTime", channel.getCollectTime()); jsonObject.put("collectTime", channel.getCollectTime());
} }
// 渠道倾向变化 TODO // 渠道倾向变化 TODO
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment