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