package com.gxwebsoft.cms.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.cms.entity.DesignSignUp;
import com.gxwebsoft.cms.param.DesignSignUpParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 设计征集报名Mapper
 *
 * @author 科技小王子
 * @since 2024-10-08 15:21:56
 */
public interface DesignSignUpMapper extends BaseMapper<DesignSignUp> {

    /**
     * 分页查询
     *
     * @param page  分页对象
     * @param param 查询参数
     * @return List<DesignSignUp>
     */
    List<DesignSignUp> selectPageRel(@Param("page") IPage<DesignSignUp> page,
                             @Param("param") DesignSignUpParam param);

    /**
     * 查询全部
     *
     * @param param 查询参数
     * @return List<User>
     */
    List<DesignSignUp> selectListRel(@Param("param") DesignSignUpParam param);

}
