制度导入无第一个节点代码
This commit is contained in:
parent
78abeadb94
commit
dbbd375ed8
Binary file not shown.
@ -125,7 +125,6 @@ public class WordUtilXWPF {
|
||||
try {
|
||||
//file = new File(filePath);
|
||||
elements.clear();
|
||||
elements.put(shapefirst.getString("id"), shapefirst);
|
||||
XWPFDocument doc = new XWPFDocument(inputStream);
|
||||
JSONArray onlinedata = new JSONArray();
|
||||
if (shapefirst == null || shapefirst.size() == 0) {
|
||||
@ -145,6 +144,7 @@ public class WordUtilXWPF {
|
||||
shapeze.put("p", 0);
|
||||
onlinedata.add(shapeze);
|
||||
} else {
|
||||
elements.put(shapefirst.getString("id"), shapefirst);
|
||||
shapefirst.put("next", true);
|
||||
shapefirst.put("p", 0);
|
||||
onlinedata.add(shapefirst);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user