package com.gxwebsoft.oa.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.oa.entity.OaAssetsServer;
import com.gxwebsoft.oa.param.OaAssetsServerParam;

import java.util.List;

/**
 * 服务器资产记录表Service
 *
 * @author 科技小王子
 * @since 2024-09-10 20:57:41
 */
public interface OaAssetsServerService extends IService<OaAssetsServer> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<OaAssetsServer>
     */
    PageResult<OaAssetsServer> pageRel(OaAssetsServerParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<OaAssetsServer>
     */
    List<OaAssetsServer> listRel(OaAssetsServerParam param);

    /**
     * 根据id查询
     *
     * @param serverId 资产ID
     * @return OaAssetsServer
     */
    OaAssetsServer getByIdRel(Integer serverId);

}
