package com.gxwebsoft.oa.service;

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

import java.util.List;

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

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

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

    /**
     * 根据id查询
     *
     * @param vhostId ID
     * @return OaAssetsVhost
     */
    OaAssetsVhost getByIdRel(Integer vhostId);

}
