Commit 65badb9c authored by 李灿灿's avatar 李灿灿

订单回复推ekp,附件临时路径调整

parent 25daf8f1
...@@ -143,7 +143,7 @@ public class EkpOrderUtil { ...@@ -143,7 +143,7 @@ public class EkpOrderUtil {
//设置附件关键字,表单模式下为附件控件的id //设置附件关键字,表单模式下为附件控件的id
attForm.setFdKey(ekpProperties.getReplyAttachKey()); attForm.setFdKey(ekpProperties.getReplyAttachKey());
attForm.setFdFileName(multipartFile.getOriginalFilename()); attForm.setFdFileName(multipartFile.getOriginalFilename());
File file = new File("G:\\tmp" + multipartFile.getOriginalFilename()); File file = new File("G:\\tmp\\" + multipartFile.getOriginalFilename());
FileUtils.copyInputStreamToFile(multipartFile.getInputStream(), file); FileUtils.copyInputStreamToFile(multipartFile.getInputStream(), file);
DataSource dataSource = new FileDataSource(file); DataSource dataSource = new FileDataSource(file);
DataHandler dataHandler = new DataHandler(dataSource); DataHandler dataHandler = new DataHandler(dataSource);
......
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