正文生成条款时挂的附件内容为空问题处理
This commit is contained in:
parent
78af4d28bc
commit
d0618c1b92
@ -179,8 +179,8 @@ public class WordUtilXWPF {
|
|||||||
shapeze.put("p", 0);
|
shapeze.put("p", 0);
|
||||||
onlinedata.add(shapeze);
|
onlinedata.add(shapeze);
|
||||||
// 上传附件
|
// 上传附件
|
||||||
writeFileTodisk(userContext, shapeIdz, fileName, docxfile, fileValue, "s");
|
InputStream docxfile2 = SDK.getDCAPI().read(dcContextpdf);
|
||||||
|
writeFileTodisk(userContext, shapeIdz, fileName, docxfile2, fileValue, "s");
|
||||||
// 获取段落
|
// 获取段落
|
||||||
List<XWPFParagraph> paras = doc.getParagraphs();
|
List<XWPFParagraph> paras = doc.getParagraphs();
|
||||||
// 级别依次
|
// 级别依次
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user