gaoluyang
2 天以前 8c65f898ed6e5b0c7a94c792c4562f6ec831dccd
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
46
47
48
49
50
51
52
53
package cn.iocoder.yudao.module.crm.service.customer;
 
import cn.iocoder.yudao.module.crm.controller.admin.customer.vo.address.CrmCustomerAddressSaveReqVO;
import cn.iocoder.yudao.module.crm.dal.dataobject.customer.CrmCustomerAddressDO;
 
import java.util.List;
 
/**
 * CRM 客户收货地址 Service 接口
 *
 * @author 超级管理员
 */
public interface CrmCustomerAddressService {
 
    /**
     * 创建客户收货地址
     *
     * @param reqVO 创建信息
     * @return 编号
     */
    Long createCustomerAddress(CrmCustomerAddressSaveReqVO reqVO);
 
    /**
     * 修改客户收货地址
     *
     * @param reqVO 修改信息
     */
    void updateCustomerAddress(CrmCustomerAddressSaveReqVO reqVO);
 
    /**
     * 删除客户收货地址
     *
     * @param id 编号
     */
    void deleteCustomerAddress(Long id);
 
    /**
     * 获得客户收货地址列表
     *
     * @param customerId 客户编号
     * @return 收货地址列表
     */
    List<CrmCustomerAddressDO> getCustomerAddressList(Long customerId);
 
    /**
     * 获得客户默认收货地址
     *
     * @param customerId 客户编号
     * @return 默认收货地址,不存在返回 null
     */
    CrmCustomerAddressDO getDefaultCustomerAddress(Long customerId);
 
}