package com.gxwebsoft.apps.service;

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

import java.util.List;

/**
 * 故障报警记录Service
 *
 * @author 科技小王子
 * @since 2022-12-01 23:49:44
 */
public interface EquipmentAlarmService extends IService<EquipmentAlarm> {

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

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

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

}
