package com.gxwebsoft.oa.service;

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

import java.util.List;

/**
 * 服务器资产记录表Service
 *
 * @author WebSoft
 * @since 2022-11-16 11:13:16
 */
public interface AssetsService extends IService<Assets> {

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

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

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

}
