Commit 9a464f36 authored by 吴琼's avatar 吴琼

修改邮件发送

parent fc464d0b
...@@ -530,14 +530,14 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR ...@@ -530,14 +530,14 @@ public class TransactionReceiptRecordServiceImpl implements ITransactionReceiptR
String filepath = basePath + path.substring(1); String filepath = basePath + path.substring(1);
int totalLength =filepath.length(); int totalLength =filepath.length();
int length = filepath.lastIndexOf("/"); int length = filepath.lastIndexOf("/");
Map<String,Object>map = Maps.newHashMap();
String fileName =filepath.substring(length+1,totalLength); String fileName =filepath.substring(length+1,totalLength);
map.put("fileName",fileName);
int length2 = fileName.lastIndexOf("-"); int length2 = fileName.lastIndexOf("-");
fileName = fileName.substring(length2+1,fileName.length()); fileName = fileName.substring(length2+1,fileName.length());
updateSuccessList.add(fileName.substring(0,fileName.indexOf("."))); updateSuccessList.add(fileName.substring(0,fileName.indexOf(".")));
filepath =filepath.substring(0,length+1); filepath =filepath.substring(0,length+1);
Map<String,Object>map = Maps.newHashMap();
map.put("filePath",filepath); map.put("filePath",filepath);
map.put("fileName",fileName);
emailList.add(map); emailList.add(map);
}else{ }else{
deleteRedis("exportZipFile"); deleteRedis("exportZipFile");
......
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