package com.gxwebsoft.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.project.entity.ProjectField;
import com.gxwebsoft.project.param.ProjectFieldParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 应用参数Mapper
 *
 * @author 科技小王子
 * @since 2025-03-14 16:21:11
 */
public interface ProjectFieldMapper extends BaseMapper<ProjectField> {

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

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

}
