yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/api/customer/CrmCustomerApiImpl.java
@@ -24,7 +24,7 @@ /** * CRM 客户 API 实现类 * * @author 芋道源码 * @author 超级管理员 */ @Service public class CrmCustomerApiImpl implements CrmCustomerApi { @@ -121,6 +121,12 @@ return new ArrayList<>(permittedIds); } @Override public List<CrmCustomerRespDTO> getCustomerSimpleList() { List<CrmCustomerDO> customers = customerService.getCustomerList(); return BeanUtils.toBean(customers, CrmCustomerRespDTO.class); } /** * 过滤掉用户没有权限的客户 * <p>