Commit 77814def by shenjunjie

修复isCollect为空bug

parent 64993ad5
......@@ -485,7 +485,7 @@ public class ChannelServiceImpl implements ChannelService {
jsonObject.put("articlesCount", channel.getArticleCount());
jsonObject.put("eventCount", channel.getEventCount());
jsonObject.put("channelTag", channelTagDao.getTagByChannelName(channel.getSource()));
if (channel.getIsCollect()) {
if (Boolean.TRUE.equals(channel.getIsCollect())) {
jsonObject.put("collectTime", channel.getCollectTime());
}
// 渠道倾向变化 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