xinyb
2024-09-20 562e208f397b70d27c519f225d821298ab04c5cf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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;
 
 
}