huminmin
4 天以前 5bbf6b97525dd92c81fe91447953e7819f8a4e18
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);
    }
}