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:
nieziyan 2023-10-16 17:28:11 +08:00
commit e5f1b09b76

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());