去掉本地测试用的文件地址
This commit is contained in:
+1
-2
@@ -161,8 +161,7 @@ public class SarFileSplitInfoEOServiceImpl implements SarFileSplitInfoEOService
|
||||
try {
|
||||
AttFileEO attFileEO = attFileEOService.getFileInfo(sarFileSplitInfoEO.getAttId());
|
||||
//String readFilePath = filePath + "/" + attFileEO.getFilePath() + attFileEO.getFileName();
|
||||
//String readFilePath = filePath + attFileEO.getFilePath() + attFileEO.getFileName();
|
||||
String readFilePath = "F:\\合众未来\\项目\\福田汽车全球法规标准管理系统\\GB 1589-2016 汽车、挂车及汽车列车外廓尺寸、轴荷及质量限值.docx";
|
||||
String readFilePath = filePath + attFileEO.getFilePath() + attFileEO.getFileName();
|
||||
|
||||
InputStream is = new FileInputStream(readFilePath); //需要将文件路更改为word文档所在路径。
|
||||
XWPFDocument doc = new XWPFDocument(is);
|
||||
|
||||
Reference in New Issue
Block a user