|
@@ -344,16 +344,16 @@ public class ZhcxOutsideInspectionItpServiceImpl extends ServiceImpl<ZhcxOutside
|
|
|
log.info("邮件发送", JSONUtil.toJsonStr(notifyDtoList));
|
|
|
//邮件发送
|
|
|
if(ObjectUtil.isNotEmpty(notifyDtoList)) {
|
|
|
- for(NotifyDto notifyDto : notifyDtoList) {
|
|
|
- MailDo mainDo = new MailDo();
|
|
|
- mainDo.setSubject(notifyDto.getSubject());
|
|
|
- mainDo.setContent(notifyDto.getContent());
|
|
|
- mainDo.setOperationtype("10");
|
|
|
- mainDo.setCcEmail(new String[]{});
|
|
|
- mainDo.setNeedTransReceive(true);
|
|
|
- mainDo.setReceiveEmail(notifyDto.getReceiverIds().stream().toArray(String[]::new));
|
|
|
- notifyFeginService.sendHtmlMail(mainDo);
|
|
|
- }
|
|
|
+// for(NotifyDto notifyDto : notifyDtoList) {
|
|
|
+// MailDo mainDo = new MailDo();
|
|
|
+// mainDo.setSubject(notifyDto.getSubject());
|
|
|
+// mainDo.setContent(notifyDto.getContent());
|
|
|
+// mainDo.setOperationtype("10");
|
|
|
+// mainDo.setCcEmail(new String[]{});
|
|
|
+// mainDo.setNeedTransReceive(true);
|
|
|
+// mainDo.setReceiveEmail(notifyDto.getReceiverIds().stream().toArray(String[]::new));
|
|
|
+// notifyFeginService.sendHtmlMail(mainDo);
|
|
|
+// }
|
|
|
}
|
|
|
|
|
|
return R.ok();
|