package com.zhentao.mapper;

import com.zhentao.entity.MarrApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

/**
* @author 联想
* @description 针对表【marr_apply(红娘申请表)】的数据库操作Mapper
* @createDate 2025-12-08 16:36:04
* @Entity com.zhentao.entity.MarrApply
*/
public interface MarrApplyMapper extends BaseMapper<MarrApply> {

    /**
     * 分页查询红娘申请，支持姓名/手机号模糊查询并按创建时间倒序
     */
    Page<MarrApply> selectPageByCondition(Page<MarrApply> page,
                                          @Param("name") String name,
                                          @Param("phone") String phone,
                                          @Param("status") Integer status);
}