|
|
@@ -245,10 +245,10 @@ public class AsyncUtils {
|
|
|
private void pushParam(Admin admin, Integer noticeType, String str, List<Notice> notes, StringBuffer emails) {
|
|
|
notes.add(new Notice(UUID.randomUUID().toString(), new Date(), 0, admin.getId(),
|
|
|
noticeType, str));
|
|
|
- if (admin.getEmail()!=null) emails = emails.append(admin.getEmail()).append(",");
|
|
|
+ if (admin.getEmail()!=null&&!emails.toString().contains(admin.getEmail())) {
|
|
|
+ emails = emails.append(admin.getEmail()).append(",");
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
}
|