时间搜索bug

This commit is contained in:
zhangqinlin
2021-09-16 17:51:18 +08:00
parent 1c80bc13c3
commit 5521f3271c
4 changed files with 50 additions and 36 deletions
@@ -72,7 +72,7 @@ public class EmailSendMsgHandle implements ISendMsgHandle {
helper.setText(es_content, true);
for(String file :fileList) {
if(!StringUtils.isBlank(file)) {
FileSystemResource filePath = new FileSystemResource(new File("D:\\opt\\upFiles" + "\\" + file + ".pdf"));
FileSystemResource filePath = new FileSystemResource(new File("D:\\opt\\upFiles" + "\\" + file));
helper.addAttachment(file, filePath);
}
}