制度手册增加架构类型
This commit is contained in:
parent
44806670f4
commit
8b1b3e7daf
Binary file not shown.
@ -36,7 +36,7 @@ public class Plugins implements PluginListener {
|
|||||||
params1.put("targetMethodType", "");// 建模方法中的图元,为空表示只选择文件,不选择图元;为"-"表示所有类型图元
|
params1.put("targetMethodType", "");// 建模方法中的图元,为空表示只选择文件,不选择图元;为"-"表示所有类型图元
|
||||||
params1.put("relationMethodScope", "-");// 如果设置-,表示不需要用户选择关联范围,向导页被忽略*/
|
params1.put("relationMethodScope", "-");// 如果设置-,表示不需要用户选择关联范围,向导页被忽略*/
|
||||||
// 建模大类、建模方法,多个用逗号隔开,如果为空表示全部 org.normal
|
// 建模大类、建模方法,多个用逗号隔开,如果为空表示全部 org.normal
|
||||||
params1.put("targetMethodScope", "control.policy,process.scheme,engineering.standard");
|
params1.put("targetMethodScope", "control.policy,process.scheme,engineering.standard,process.framework");
|
||||||
// 建模方法中的图元,为空表示只选择文件,不选择图元;为"-"表示所有类型图元
|
// 建模方法中的图元,为空表示只选择文件,不选择图元;为"-"表示所有类型图元
|
||||||
params1.put("targetMethodType", "");
|
params1.put("targetMethodType", "");
|
||||||
// 如果设置-,表示不需要用户选择关联范围,向导页被忽略
|
// 如果设置-,表示不需要用户选择关联范围,向导页被忽略
|
||||||
|
|||||||
@ -91,7 +91,7 @@ public class Report1Gener {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PALRepositoryModel repositoryModel = PALRepositoryCache.getCache().get(jsonObj.get("targetFileId").toString());
|
|
||||||
String tempName;
|
String tempName;
|
||||||
if(PALRepositoryCache.getCache().get(targetFileId).getMethodId().equals("process.scheme")){
|
if(PALRepositoryCache.getCache().get(targetFileId).getMethodId().equals("process.scheme")){
|
||||||
tempName = "方案-手册1.xml";
|
tempName = "方案-手册1.xml";
|
||||||
@ -110,6 +110,7 @@ public class Report1Gener {
|
|||||||
log.info("end");
|
log.info("end");
|
||||||
// xml转换成word格式
|
// xml转换成word格式
|
||||||
OutputWordUtil.xml2Word(log, dcContext.getPath());
|
OutputWordUtil.xml2Word(log, dcContext.getPath());
|
||||||
|
|
||||||
// }
|
// }
|
||||||
} finally {
|
} finally {
|
||||||
// isRunning = false;
|
// isRunning = false;
|
||||||
@ -134,6 +135,13 @@ public class Report1Gener {
|
|||||||
if (repositoryId == null || "".equals(repositoryId)) {
|
if (repositoryId == null || "".equals(repositoryId)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
PALRepositoryModel repositoryModel1 = PALRepositoryCache.getCache().get(repositoryId);
|
||||||
|
if(repositoryModel1.getMethodId().equals("process.framework")){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
PALRepositoryModel model = PALRepositoryQueryAPIManager.getInstance().queryPalRepositoryModelByPalId(repositoryId);
|
PALRepositoryModel model = PALRepositoryQueryAPIManager.getInstance().queryPalRepositoryModelByPalId(repositoryId);
|
||||||
if (model != null) {
|
if (model != null) {
|
||||||
//获取文件扩展属性
|
//获取文件扩展属性
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user