正文生成条款时挂的附件内容为空问题处理

This commit is contained in:
lihongyu 2022-11-10 16:02:01 +08:00
parent 78af4d28bc
commit d0618c1b92

View File

@ -179,8 +179,8 @@ public class WordUtilXWPF {
shapeze.put("p", 0);
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();
// 级别依次