Merge remote-tracking branch 'origin/station20231013' into station20231013
# Conflicts: # jeecg-server-cloud/armd-auto-process-start/src/main/java/org/jeecg/JeecgAutoProcessApplication.java
This commit is contained in:
commit
e5f1b09b76
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue
Block a user