Commit 25daf8f1 authored by 李灿灿's avatar 李灿灿

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

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