huminmin
9 天以前 71b15a5c69dcc421bad71d558e191e12cb7bae3e
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);
    }
}