fix:1.放开邮件查询条件
This commit is contained in:
parent
e2b4f2f76d
commit
87e4d33f3b
|
@ -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());
|
||||
|
|
|
@ -79,7 +79,7 @@ public class JeecgAutoProcessApplication extends SpringBootServletInitializer im
|
|||
checkTempStorageDirectory();
|
||||
//校验存储目录是否存在,不存在则创建,存在无操作
|
||||
checkStorageDirectory();
|
||||
// autoProcessManager.start(systemStartupTime);
|
||||
autoProcessManager.start(systemStartupTime);
|
||||
undealHandleManager.start();
|
||||
fileSourceHandleManager.start();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user