aQiu6 3 months ago
parent
commit
fb8f9a21d3

BIN
jijinhui1.docx


+ 2 - 0
src/main/java/org/example/mybatisplus/tools/WordPoiExporter.java

@@ -68,6 +68,8 @@ public class WordPoiExporter {
                         String value=data1.getString(keys[2]);
                         if(value==null)value="";
                         run.setText(runText.replace(placeholder, value), 0);
+                    }else{
+                        run.setText(runText.replace(placeholder, ""), 0);
                     }
                 }
             }