fix:1.放开邮件查询条件

This commit is contained in:
panbaolin 2023-10-16 17:07:50 +08:00
parent e2b4f2f76d
commit 87e4d33f3b
2 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ public class EmailServiceManager {
final int messageCount = folder.getMessageCount();
if(messageCount > 0){
SearchTerm searchTerm = new ReceivedDateTerm(ComparisonTerm.GE,this.systemStartupTime);
Message[] messages = folder.getMessages(1,4);//folder.search(searchTerm);
Message[] messages = folder.search(searchTerm);
Arrays.sort(messages, (o1, o2) -> {
try {
return o1.getReceivedDate().compareTo(o2.getReceivedDate());

View File

@ -79,7 +79,7 @@ public class JeecgAutoProcessApplication extends SpringBootServletInitializer im
checkTempStorageDirectory();
//校验存储目录是否存在不存在则创建存在无操作
checkStorageDirectory();
// autoProcessManager.start(systemStartupTime);
autoProcessManager.start(systemStartupTime);
undealHandleManager.start();
fileSourceHandleManager.start();
}