|
|
@@ -217,14 +217,14 @@ public class AsyncUtils {
|
|
|
}
|
|
|
if (!list.isEmpty()){
|
|
|
List<Notice> notes=new ArrayList<>();
|
|
|
-
|
|
|
+ StringBuffer emails=new StringBuffer();
|
|
|
for (String s : list) {
|
|
|
notes.add(new Notice(UUID.randomUUID().toString(), new Date(), 0, s,
|
|
|
noticeType, str));
|
|
|
-
|
|
|
+ emails=emails.append("s").append(",");
|
|
|
}
|
|
|
noticeMapper.insertBatch(notes);
|
|
|
-
|
|
|
+ send(new EmailBo(NoticeStatus.getValueByCode(noticeType),emails.substring(0,emails.length()-1),str));
|
|
|
}
|
|
|
}
|
|
|
|