制度手册增加架构类型

This commit is contained in:
zhaol 2024-11-12 17:44:38 +08:00
parent 44806670f4
commit 8b1b3e7daf
3 changed files with 10 additions and 2 deletions

View File

@ -36,7 +36,7 @@ public class Plugins implements PluginListener {
params1.put("targetMethodType", "");// 建模方法中的图元为空表示只选择文件不选择图元"-"表示所有类型图元
params1.put("relationMethodScope", "-");// 如果设置-表示不需要用户选择关联范围向导页被忽略*/
// 建模大类建模方法多个用逗号隔开如果为空表示全部 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", "");
// 如果设置-表示不需要用户选择关联范围向导页被忽略

View File

@ -91,7 +91,7 @@ public class Report1Gener {
break;
}
}
PALRepositoryModel repositoryModel = PALRepositoryCache.getCache().get(jsonObj.get("targetFileId").toString());
String tempName;
if(PALRepositoryCache.getCache().get(targetFileId).getMethodId().equals("process.scheme")){
tempName = "方案-手册1.xml";
@ -110,6 +110,7 @@ public class Report1Gener {
log.info("end");
// xml转换成word格式
OutputWordUtil.xml2Word(log, dcContext.getPath());
// }
} finally {
// isRunning = false;
@ -134,6 +135,13 @@ public class Report1Gener {
if (repositoryId == null || "".equals(repositoryId)) {
continue;
}
PALRepositoryModel repositoryModel1 = PALRepositoryCache.getCache().get(repositoryId);
if(repositoryModel1.getMethodId().equals("process.framework")){
continue;
}
PALRepositoryModel model = PALRepositoryQueryAPIManager.getInstance().queryPalRepositoryModelByPalId(repositoryId);
if (model != null) {
//获取文件扩展属性