风险控制表格
This commit is contained in:
parent
597c5173a3
commit
a70f725ee4
Binary file not shown.
@ -792,7 +792,7 @@ public class OutputWordUtil {
|
||||
JSONArray tableInfo = jsonObject.getJSONArray("table");
|
||||
//看看tableInfo是什么内容,如果没有内容,也不用生成表格
|
||||
System.out.println(">>>>>>>>>tableInfo.toString() = " + tableInfo.toString());
|
||||
if(!tableInfo.isEmpty()){
|
||||
if(tableInfo.size()>1){
|
||||
//添加段落,设置一级序列
|
||||
Paragraph paragraph_risk = section.addParagraph();
|
||||
ParagraphFormat paragraphFormat_risk = paragraph_risk.getFormat();
|
||||
@ -1129,15 +1129,13 @@ public class OutputWordUtil {
|
||||
if (relationList.size() > 0) {
|
||||
for (DesignerShapeRelationModel relation : relationList) {
|
||||
String relationFileId = relation.getRelationFileId();// 支持或相关文件的ID
|
||||
String name = null;
|
||||
List<PALRepositoryModel> models = PALRepositoryCache.getByVersionId(relationFileId);
|
||||
if (models != null && models.size() > 0) {
|
||||
index++;
|
||||
for(PALRepositoryModel oneModel:models){
|
||||
if(oneModel.isUse()==true){
|
||||
name=oneModel.getName();
|
||||
JSONObject tmp = new JSONObject();
|
||||
tmp.put("name", name);
|
||||
tmp.put("name", oneModel.getName());
|
||||
tmp.put("desc", index);
|
||||
related_support_files.add(tmp);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user