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,13 @@ */ CrmCustomerRespDTO validateCustomer(Long id); /** * 获取当前用户有权限的客户 ID 列表 * * 包括:用户自己在团队中、用户的下级在团队中、公海数据 * * @return 有权限的客户 ID 列表(null 表示不限制,即超管) */ List<Long> getPermittedCustomerIds(); }