Commit 837ca95f by shenjunjie

舆情消息流添加channelId字段

parent 5801c4ca
...@@ -140,6 +140,7 @@ public class MarkFlowServiceImpl implements MarkFlowService { ...@@ -140,6 +140,7 @@ public class MarkFlowServiceImpl implements MarkFlowService {
if (null != brandkbsHitJson.get("channel_emotion")) { if (null != brandkbsHitJson.get("channel_emotion")) {
sourceDetails.put("channelEmotion", ChannelEmotion.getNameFromState(brandkbsHitJson.getIntValue("channel_emotion"))); sourceDetails.put("channelEmotion", ChannelEmotion.getNameFromState(brandkbsHitJson.getIntValue("channel_emotion")));
} }
sourceDetails.put("channelId", brandkbsHitJson.getString("channel_id"));
double channelValue = tJson.getDoubleValue(GenericAttribute.ES_CHANNEL_INFLUENCE); double channelValue = tJson.getDoubleValue(GenericAttribute.ES_CHANNEL_INFLUENCE);
if (channelValue > 0) { if (channelValue > 0) {
// 保留两位小数 // 保留两位小数
......
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