制度手册查询相关文件、支持文件获取数据修改
This commit is contained in:
parent
67dcd110ba
commit
44a8724d10
Binary file not shown.
@ -709,8 +709,18 @@ public class OutputWordUtil {
|
||||
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(relationFileId);
|
||||
if (model != null) {
|
||||
|
||||
String name = null;
|
||||
List<PALRepositoryModel> models = PALRepositoryCache.getByVersionId(relationFileId);
|
||||
if (models != null && models.size() > 0) {
|
||||
for(PALRepositoryModel oneModel:models){
|
||||
if(oneModel.isUse()==true){
|
||||
name=oneModel.getName();
|
||||
}
|
||||
}
|
||||
}
|
||||
count++;
|
||||
String name = model.getName();
|
||||
//String name = model.getName();
|
||||
JSONObject tmp = new JSONObject();
|
||||
tmp.put("name", name);
|
||||
tmp.put("desc", count);
|
||||
@ -924,7 +934,19 @@ public class OutputWordUtil {
|
||||
PALRepositoryModel model = PALRepositoryCache.getCache().get(relationFileId);
|
||||
if (model != null) {
|
||||
index++;
|
||||
String name = model.getName();
|
||||
|
||||
|
||||
String name = null;
|
||||
List<PALRepositoryModel> models = PALRepositoryCache.getByVersionId(relationFileId);
|
||||
if (models != null && models.size() > 0) {
|
||||
for(PALRepositoryModel oneModel:models){
|
||||
if(oneModel.isUse()==true){
|
||||
name=oneModel.getName();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//String name = model.getName();
|
||||
JSONObject tmp = new JSONObject();
|
||||
tmp.put("name", name);
|
||||
tmp.put("desc", index);
|
||||
|
||||
@ -1212,7 +1212,6 @@ public class DesignerRelationShapeWeb extends ActionWeb {
|
||||
// }
|
||||
//
|
||||
// }
|
||||
System.out.println("jsonArray=========" + jsonArray);
|
||||
return jsonArray.toString();
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user