Commit ad2f5277 authored by 赵啸非's avatar 赵啸非

修改热门词汇

parent 82c9cc5b
Pipeline #2435 failed with stages
...@@ -193,12 +193,15 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD ...@@ -193,12 +193,15 @@ public class MatterDatumServiceImpl extends AbstractCRUDServiceImpl<MatterDatumD
String extName = FileUtil.getSuffix(samplePath); String extName = FileUtil.getSuffix(samplePath);
if (this.isExsitArry(extName, word)) { if (this.isExsitArry(extName, word)) {
WordUtil.convertWordToJPEG(samplePath, filePathAll); WordUtil.convertWordToJPEG(samplePath, filePathAll);
}else if(this.isExsitArry(extName, word)){ }else if(this.isExsitArry(extName, pdf)){
WordUtil.pdfToImages(samplePath,filePathAll);
}else if(this.isExsitArry(extName,imgs)){
try {
com.mortals.framework.util.FileUtil.copyFile(samplePath,filePathAll);
} catch (FileNotFoundException e) {
throw new RuntimeException(e);
}
} }
return newName; return newName;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment