This commit is contained in:
LiuY 2022-05-11 09:47:44 +08:00
parent 40864093a3
commit 188fae9227

View File

@ -684,6 +684,7 @@ public class MailServiceImpl extends DefaultBaseService implements IMailService
saveParam.put("recipientNames", recipientNames); saveParam.put("recipientNames", recipientNames);
// 处理抄送人 // 处理抄送人
if(vo.getCopyForIds() != null && !"".equals(vo.getCopyForIds())){
saveParam.put("copyForIds", vo.getCopyForIds()); saveParam.put("copyForIds", vo.getCopyForIds());
String[] copyForArray = vo.getCopyForIds().split(","); String[] copyForArray = vo.getCopyForIds().split(",");
String copyForNames = ""; String copyForNames = "";
@ -699,8 +700,9 @@ public class MailServiceImpl extends DefaultBaseService implements IMailService
} }
} }
saveParam.put("copyForNames", copyForNames); saveParam.put("copyForNames", copyForNames);
}
// 处理密送 // 处理密送
if(vo.getSecretIds() != null && !"".equals(vo.getSecretIds())){
saveParam.put("secretIds", vo.getSecretIds()); saveParam.put("secretIds", vo.getSecretIds());
String[] secretArray = vo.getSecretIds().split(","); String[] secretArray = vo.getSecretIds().split(",");
String secretNames = ""; String secretNames = "";
@ -716,6 +718,7 @@ public class MailServiceImpl extends DefaultBaseService implements IMailService
} }
} }
saveParam.put("secretNames", secretNames); saveParam.put("secretNames", secretNames);
}
// 邮件内容 // 邮件内容
String uuid = UUIDUtil.getUUID(); String uuid = UUIDUtil.getUUID();
saveParam.put("mailId", uuid); saveParam.put("mailId", uuid);