huminmin
9 天以前 b48ed5159987e8cee81bc765010cfd9393ad7003
yudao-module-crm/src/main/java/cn/iocoder/yudao/module/crm/service/contact/CrmContactServiceImpl.java
@@ -45,7 +45,7 @@
/**
 * CRM 联系人 Service 实现类
 *
 * @author 芋道源码
 * @author 超级管理员
 */
@Service
@Validated
@@ -304,4 +304,10 @@
        return contactMapper.selectListByCustomerIdOwnerUserId(customerId, ownerUserId);
    }
    @Override
    @CrmPermission(bizType = CrmBizTypeEnum.CRM_CUSTOMER, bizId = "#customerId", level = CrmPermissionLevelEnum.READ)
    public List<CrmContactDO> getContactListByCustomerId(Long customerId) {
        return contactMapper.selectListByCustomerId(customerId);
    }
}