MailServiceImpl.java 660 B

1234567891011121314151617181920212223
  1. package com.fjhx.email.service.impl;
  2. import com.fjhx.email.entity.dto.MailSyncInfo;
  3. import com.fjhx.email.entity.dto.MailboxInfo;
  4. import com.fjhx.email.mapper.MailMapper;
  5. import com.fjhx.email.service.IMailService;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.stereotype.Service;
  8. import java.util.List;
  9. @Service
  10. public class MailServiceImpl implements IMailService {
  11. @Autowired
  12. private MailMapper mailMapper;
  13. @Override
  14. public List<MailboxInfo> getMailboxInfoListByUserId(List<Long> userIdList) {
  15. return mailMapper.getMailboxInfoListByUserId(userIdList, MailSyncInfo.mailType);
  16. }
  17. }