Commit 43073083 by s_guodong

update

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