手册生成判断方案图原型ID

This commit is contained in:
zhal 2024-10-08 16:14:52 +08:00
parent ace9d1b3c9
commit 79e0c7c969
3 changed files with 3 additions and 3 deletions

View File

@ -137,7 +137,7 @@ public class OutputAPIManager {
DCPluginProfile dcProfile = SDK.getDCAPI().getDCProfile(appProfile.getAppContext().getId(), OutputConst.EXT_APP_DC_OUTPUT);
if (dcProfile == null)
throw new AWSException("Not Find DCProfile! repositoryName=" + OutputConst.EXT_APP_DC_OUTPUT);
DCContext dcContext = new DCContext(null, dcProfile, appProfile.getAppContext().getId(), wsId, id);
DCContext dcContext = new DCContext(null, dcProfile, appProfile.getAppContext().getId(), wsId, id.trim());
UtilFile file = new UtilFile(dcContext.getPath());
return file;
}

View File

@ -271,6 +271,8 @@ public class OutputWordUtil {
controlShapeId = shape.get("id").toString();
} else if ("I/O_L4".equals(type)) {
controlShapeId = shape.get("id").toString();
} else if("card".equals(type)){
controlShapeId = shape.get("id").toString();
}
}
}
@ -281,9 +283,7 @@ public class OutputWordUtil {
Map<String, String> result = new HashMap<>();
result.put("listDef", "");
result.put("content", "");
if (UtilString.isEmpty(controlShapeId)) {
}
PALRepositoryModel repositoryModel = PALRepositoryQueryAPIManager.getInstance().queryPalRepositoryModelByPalId(repositoryId);
if (repositoryModel == null) {