|
@@ -34,6 +34,7 @@ import java.io.IOException;
|
|
|
import java.io.InputStream;
|
|
|
import java.io.UnsupportedEncodingException;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.Collections;
|
|
|
import java.util.Date;
|
|
|
import java.util.List;
|
|
|
import java.util.concurrent.*;
|
|
@@ -98,6 +99,10 @@ public class MailServiceImpl implements IMailService {
|
|
|
|
|
|
@Override
|
|
|
public List<MailboxInfo> getMailboxInfoListByUserId(List<Long> userIdList) {
|
|
|
+ if (ObjectUtil.isEmpty(userIdList)) {
|
|
|
+ return Collections.emptyList();
|
|
|
+ }
|
|
|
+
|
|
|
return mailMapper.getMailboxInfoListByUserId(userIdList, MailSyncInfo.mailType);
|
|
|
}
|
|
|
|