xinyb
2024-09-03 f4c162f2e0a8e54af6ce213cb7d3566731a1820c
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
package com.yc.crm.mail.service;
 
import com.yc.crm.mail.entity.T482102Entity;
 
import java.util.List;
 
public interface MailAccountIfc {
 
    /**
     * 添加新的邮箱配置
     * @param account
     */
    abstract void addEmailAccount(T482102Entity account);
 
    /**
     * 修改邮箱配置
     * @param account
     * @return
     */
    abstract Integer updateEmailAccount(T482102Entity account);
 
    /**
     * 删除邮箱配置
     * @param userCode
     * @param accountId
     * @return
     */
    abstract Integer deleteEmailAccount(String userCode,Integer accountId);
    /**
     * 用户绑定的邮箱信息
     * @param userCode
     * @return
     */
    abstract List<T482102Entity> getAccount(String userCode, String email);
    abstract T482102Entity getAccountInfo(String userCode, String email) throws Exception;
}