活动描述导入不显示
This commit is contained in:
parent
270c4431e6
commit
a57502c9f0
Binary file not shown.
@ -609,13 +609,7 @@ public class ArisXmlImportRun {
|
||||
for (Object attribute : dataAttributes) {
|
||||
JSONObject obj = (JSONObject) attribute;
|
||||
if (obj.containsKey("attributesJsonArray")) {
|
||||
List<PALMethodAttributeModel> usedAttributeModels = CoeDesignerShapeAPIManager.getInstance().getValidAndUseAttributeModels(wsId, objDefMappingModel.getShapeMethod(), shapeName, objDefMappingModel.getShapeMethod());
|
||||
usedAttributeModels.forEach(item -> {
|
||||
attrDescObj.put("id", item.getKey());
|
||||
attrDescObj.put("value","");
|
||||
});
|
||||
obj.getJSONArray("attributesJsonArray").add(attrDescObj);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@ -201,7 +201,7 @@ public class ArisXmlImportWeb extends ActionWeb {
|
||||
// 校验xml文档是否能够正常解析
|
||||
Document doc = analysisXMLFile(file.getPath(), true);
|
||||
// String toFilePath = "/Users/sunlh/Documents/ideaData/actionsoft/aws6.4.1.1008.yili2/apps/com.actionsoft.apps.coe.pal.datamigration/testFile/targetFile/";
|
||||
// XMLUtil.writeXml(d, toFilePath + fileName);
|
||||
// XMLUtil.writeXml(doc, toFilePath + fileName);
|
||||
// 解析xml文件
|
||||
if (doc == null) {
|
||||
msg = Constant.LOG_ERROR + "解析XML文件结构," + Constant.IMPORT_STOP_MSG;
|
||||
|
||||
@ -56,6 +56,9 @@ public class Constant {
|
||||
// public static final String METHOD_ARIS_URL = "ARISURL";
|
||||
public static final String METHOD_ARIS_URL = "ARIS";
|
||||
|
||||
// 建模属性代码--IT系统别名
|
||||
public static final String METHOD_OTHER_NAME = "otherName";
|
||||
|
||||
// 存放与流程同名的角色模型的文件夹名称
|
||||
public static final String DEFAULT_FOLDER_NAME = "角色模型";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user