Commit 67eb26db by guos

会员标签4.0

parent f555955a
package com.gic.spark.tag; package com.gic.spark.tag;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import com.gic.spark.entity.TagConditionDTO; import com.gic.spark.entity.TagConditionDTO;
import com.gic.spark.entity.TagConditionValDTO; import com.gic.spark.entity.TagConditionValDTO;
import com.gic.spark.entity.enumtype.*; import com.gic.spark.entity.enumtype.*;
...@@ -212,7 +213,7 @@ public class TagValueParser { ...@@ -212,7 +213,7 @@ public class TagValueParser {
setStatisticsTypeHandle(request, conditionValDTO.getKey(), conditionValDTO.getVal()); setStatisticsTypeHandle(request, conditionValDTO.getKey(), conditionValDTO.getVal());
} else if(conditionValDTO.getKey().equals(TagConstant.TAG_STATISTICS_CHANNEL)){ } else if(conditionValDTO.getKey().equals(TagConstant.TAG_STATISTICS_CHANNEL)){
String val=conditionValDTO.getVal(); String val=conditionValDTO.getVal();
Map<String,List<String>> storeMap = JSONObject.parseObject(val,HashMap.class); Map<String,List<String>> storeMap = JSONObject.parseObject(val,new TypeReference<Map<String, List<String>>>(){});
for(List<String>lts:storeMap.values()){ for(List<String>lts:storeMap.values()){
storeList.addAll(lts); storeList.addAll(lts);
} }
......
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