Commit 8d9d1667 by guos

会员标签4.0

parent 2386e459
......@@ -10,12 +10,12 @@ import java.io.Serializable;
public class TagGroupInfo implements Serializable{
private static final long serialVersionUID = -8710695590658340671L;
private Integer mcu_id;
private Long id;
private Integer enterprise_id;
private String tag_group_info;
public TagGroupInfo(Integer mcu_id, Integer enterprise_id, String tag_group_info) {
this.mcu_id = mcu_id;
public TagGroupInfo(Long id, Integer enterprise_id, String tag_group_info) {
this.id = id;
this.enterprise_id = enterprise_id;
this.tag_group_info = tag_group_info;
}
......
......@@ -256,8 +256,8 @@ public class TagProcessManager {
while(data.hasNext()){
Tuple2<Long,String>tp2=data.next();
JSONObject json = JSONObject.parseObject(tp2._2());
if(StringUtils.isNotEmpty(json.getString("tagGroup"))){
tagGroupInfoList.add(new TagGroupInfo(json.getInteger("mcuId"),enterpriseId,json.getString("tagGroup")));
if(StringUtils.isNotEmpty(json.getString("sceneTags_b"))){
tagGroupInfoList.add(new TagGroupInfo(json.getLong("id"),enterpriseId,json.getString("sceneTags_b")));
}
}
return tagGroupInfoList.iterator();
......
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