package com.gxwebsoft.apps.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.apps.entity.EquipmentRecord;
import com.gxwebsoft.apps.param.EquipmentRecordParam;

import java.util.List;

/**
 * 前世今生Service
 *
 * @author 科技小王子
 * @since 2022-12-03 01:23:53
 */
public interface EquipmentRecordService extends IService<EquipmentRecord> {

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

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

    /**
     * 根据id查询
     *
     * @param id 记录ID
     * @return EquipmentRecord
     */
    EquipmentRecord getByIdRel(Integer id);

}
