diff --git a/jeecg-boot/jeecg-module-demo/src/main/resources/static/word/yiJianModel.docx b/jeecg-boot/jeecg-module-demo/src/main/resources/static/word/yiJianModel.docx deleted file mode 100644 index e380777..0000000 Binary files a/jeecg-boot/jeecg-module-demo/src/main/resources/static/word/yiJianModel.docx and /dev/null differ diff --git a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/test/java/org/jeecg/modules/word/WordExportUtil_test.java b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/test/java/org/jeecg/modules/word/WordExportUtil_test.java index 44b5335..984b0b6 100644 --- a/jeecg-boot/jeecg-module-system/jeecg-system-start/src/test/java/org/jeecg/modules/word/WordExportUtil_test.java +++ b/jeecg-boot/jeecg-module-system/jeecg-system-start/src/test/java/org/jeecg/modules/word/WordExportUtil_test.java @@ -86,8 +86,10 @@ public class WordExportUtil_test { @Test public void test3() { - String wordPath = "C:\\Users\\YX\\Documents\\2025黄淮学院工程技术研究中心1121.docx"; - String wordPath2 = "C:\\Users\\YX\\Documents\\copy1121.docx"; +// String wordPath = "C:\\Users\\YX\\Documents\\2025黄淮学院工程技术研究中心1121.docx"; + String wordPath = "C:\\Users\\YX\\Documents\\WeChat Files\\wxid_5z79fdp20li121\\FileStorage\\File\\2024-11\\基于多智能体的中药丸剂数字孪生生产线关键技术研究-全文.docx"; + String wordPath2 = "C:\\Users\\YX\\Documents\\WeChat Files\\wxid_5z79fdp20li121\\FileStorage\\File\\2024-11\\基于多智能体的中药丸剂数字孪生生产线关键技术研究-全文.docx"; +// String wordPath2 = "C:\\Users\\YX\\Documents\\copy1121.docx"; // String wordPath2 = "D:\\model4word\\pdf\\2025黄淮学院工程技术研究中心1121.docx"; // String wordPath2 = "C:\\Users\\YX\\Documents\\00.docx"; String padPath = "C:\\Users\\YX\\Documents\\1_1.pdf"; @@ -95,9 +97,9 @@ public class WordExportUtil_test { // String padPath2 = "C:\\Users\\YX\\Documents\\00.pdf"; try { -// FileUtils.convertDocxToPdf(wordPath, padPath); - FileUtils.convertDocx2Pdf(wordPath, padPath); - FileUtils.convertDocx2Pdf(wordPath2, padPath2); + FileUtils.convertDocxToPdf(wordPath, padPath); + FileUtils.convertDocxToPdf(wordPath2, padPath2); +// FileUtils.convertDocx2Pdf(wordPath, padPath); // FileUtils.convertDocx2Pdf(wordPath, padPath2); } catch (Exception e) { e.printStackTrace();