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);
|
|
}
|