package com.gxwebsoft.oa.mapper;

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

import java.util.List;

/**
 * 服务Mapper
 *
 * @author 科技小王子
 * @since 2024-10-21 19:15:26
 */
public interface OaAssetsServerMapper extends BaseMapper<OaAssetsServer> {

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

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

}
