onlyDownload后续代码放开

This commit is contained in:
qiaoqinzheng 2024-04-30 08:56:52 +08:00
parent f58d629bd7
commit 23bf9ee271

View File

@ -84,11 +84,11 @@ public class EmailParsingActuator extends Thread{
for(int i=messages.length-1;i>=0;i--){
if (!messages[i].isExpunged()){
String messageId = ((MimeMessage) messages[i]).getMessageID();
// final boolean exist = emailServiceManager.check(messages[i],messageId);
final boolean exist = emailServiceManager.check(messages[i],messageId);
messageIds.add(messageId);
// if(exist){
// messages = ArrayUtils.remove(messages,i);
// }
if(exist){
messages = ArrayUtils.remove(messages,i);
}
}
}
log.info("EmailParsingActuator本次真实执行邮件数量为{}",messages.length);