yudao-module-crm-api/src/main/java/cn/iocoder/yudao/module/crm/api/customer/CrmCustomerApi.java
@@ -11,7 +11,7 @@ * * 提供给其它模块(如 ERP)调用 * * @author 芋道源码 * @author 超级管理员 */ public interface CrmCustomerApi { @@ -47,4 +47,22 @@ */ CrmCustomerRespDTO validateCustomer(Long id); /** * 获取当前用户有权限的客户 ID 列表 * * 包括:用户自己在团队中、用户的下级在团队中、公海数据 * * @return 有权限的客户 ID 列表(null 表示不限制,即超管) */ List<Long> getPermittedCustomerIds(); /** * 获得客户简单列表(编号 + 名称) * * 用于其它模块(如 ERP 销售订单导入)按客户名称匹配客户编号 * * @return 客户简单列表 */ List<CrmCustomerRespDTO> getCustomerSimpleList(); }