package com.storlead.sales.mail.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.storlead.sales.mail.entity.MailAttachmentEntity;
import com.storlead.framework.mybatis.service.MyBaseService;

import javax.mail.BodyPart;
import javax.mail.internet.MimeUtility;
import java.io.File;
import java.io.FileOutputStream;

/**
 * <p>
 * 邮件附件表 服务类
 * </p>
 *
 * @author chenkq
 * @since 2024-06-14
 */
public interface MailAttachmentService extends MyBaseService<MailAttachmentEntity> {
    IPage<MailAttachmentEntity> pateList(Page<MailAttachmentEntity> page, Wrapper<MailAttachmentEntity> wrapper);
}
