package com.yc.crm.mail.service;
|
|
import com.yc.crm.mail.entity.MailFileEntity;
|
import com.yc.entity.attachment.AttachmentEntity;
|
import com.yc.sdk.shopping.entity.ImageEntity;
|
|
import javax.servlet.http.HttpServletRequest;
|
import java.util.List;
|
|
public interface MailFileIfc {
|
|
/**
|
* 附件保存
|
*
|
* @param unIdFile
|
*/
|
abstract void saveAttachment(List<MailFileEntity> mailFile);
|
|
/**
|
* 邮件附件的调用处理
|
*
|
* @param unid
|
* @return
|
*/
|
abstract List<AttachmentEntity> getAttachmentEntityList(String unIdSeq);
|
|
/**
|
* 删除附件
|
*
|
* @param unId
|
* @return
|
*/
|
abstract Integer deleteAttachment(List<String> unId);
|
|
/**
|
* 获取图片实体对象 File
|
* @param unid
|
* @param rootPath
|
* @param dbId
|
* @return
|
*/
|
public ImageEntity getImageFile(String unid, Integer width, Integer height, boolean isShowOrgImage, HttpServletRequest request, String attachmentPath, String formidPath ) throws Exception;
|
|
|
}
|