Commit ee1b6bf2 authored by shiyu's avatar shiyu

查价详情去除空的参数

parent d5592bdd
...@@ -191,6 +191,9 @@ public class CategoryVo implements Serializable { ...@@ -191,6 +191,9 @@ public class CategoryVo implements Serializable {
if (coinExtraInfoEnum.getKey().equals("desc")) { if (coinExtraInfoEnum.getKey().equals("desc")) {
extraInfoMap.put(coinExtraInfoEnum.getName(), category.getDesc()); extraInfoMap.put(coinExtraInfoEnum.getName(), category.getDesc());
} else { } else {
if (StringUtils.isEmpty(extractExtra(extraData, coinExtraInfoEnum.getKey()))) {
continue;
}
extraInfoMap.put(coinExtraInfoEnum.getName(), extractExtra(extraData, coinExtraInfoEnum.getKey())); extraInfoMap.put(coinExtraInfoEnum.getName(), extractExtra(extraData, coinExtraInfoEnum.getKey()));
} }
extraInfoList.add(extraInfoMap); extraInfoList.add(extraInfoMap);
......
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