package com.zhentao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhentao.entity.FollowUpStatistics;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 跟进统计表Mapper
 */
@Mapper
public interface FollowUpStatisticsMapper extends BaseMapper<FollowUpStatistics> {
    
    /**
     * 根据资源ID和红娘ID查询统计数据
     * 
     * @param resourceId 资源ID
     * @param matchmakerId 红娘ID
     * @return 统计数据
     */
    FollowUpStatistics selectByResourceIdAndMatchmakerId(
            @Param("resourceId") Integer resourceId,
            @Param("matchmakerId") Integer matchmakerId
    );
}

