Commit 43073083 by s_guodong

update

parent ff0d6683
......@@ -283,8 +283,10 @@ public class SnapshotServiceImpl implements SnapshotService {
String value = attributeValue.getLabelId();
if (StringUtils.isBlank(value)) {
value = attributeValue.getFieldUrl();
keySet.add(new ValueVo(value));
data.setValue("${" + value + "}");
if (StringUtils.isNotBlank(value)) {
keySet.add(new ValueVo(value));
data.setValue("${" + value + "}");
}
} else {
// /bctp/LT000070/
String[] split = value.substring(1, value.length() - 1).split("/");
......@@ -405,8 +407,10 @@ public class SnapshotServiceImpl implements SnapshotService {
if (StringUtils.isBlank(labelId)) {
// labelId = attributeValue.getFieldUrl();
data.setLabel("${" + fieldUrl + "}");
keySet.add(new ValueVo(fieldUrl));
if (StringUtils.isNotBlank(fieldUrl)) {
data.setLabel("${" + fieldUrl + "}");
keySet.add(new ValueVo(fieldUrl));
}
} else {
// /bctp/LT000070/
String[] split = labelId.substring(1, labelId.length() - 1).split("/");
......
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