package com.gxwebsoft.oa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.gxwebsoft.oa.entity.OaAssetsVhost;
import com.gxwebsoft.oa.param.OaAssetsVhostParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 虚拟主机记录表Mapper
 *
 * @author 科技小王子
 * @since 2024-10-18 18:27:02
 */
public interface OaAssetsVhostMapper extends BaseMapper<OaAssetsVhost> {

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

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

}
