Commit d56248d3 by s_guodong

update

parent b99febba
......@@ -3,6 +3,7 @@ package com.brilliance.mda.runtime.mda.snapshot;
import com.brilliance.mda.runtime.mda.IModule;
import com.brilliance.mda.runtime.mda.snapshot.bo.pack.*;
import com.brilliance.mda.runtime.mda.snapshot.bo.unpack.*;
import com.brilliance.mda.runtime.mda.util.MdaUtils;
import com.brilliance.mda.runtime.mda.util.XmlUtil;
import org.apache.commons.lang3.StringUtils;
import org.springframework.stereotype.Service;
......@@ -118,7 +119,10 @@ public class SnapshotServiceImpl implements SnapshotService {
CustomAttributes customAttributes = labelBo.getCustomAttributes();
String value = customAttributes.getLabelId();
PackLabelBo data = new PackLabelBo();
data.setValue(value);
// /bctp/LT000070/
String[] split = value.substring(1, value.length() - 1).split("/");
String i18NString = MdaUtils.getI18NString(split[0], split[1]);
data.setValue(i18NString);
data.setStyle(labelBo.getStyle());
labelBoList.add(data);
}
......
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