package com.artfess.device.monitor.dao;

import com.artfess.device.monitor.model.DeviceDataHazard;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Param;

/**
 * 实时监控-危险源监控（DEVICE_DATA_HAZARD） Mapper 接口
 *
 * @company 阿特菲斯信息技术有限公司
 * @author min.wu
 * @since 2022-08-01
 */
public interface DeviceDataHazardDao extends BaseMapper<DeviceDataHazard> {

    IPage<DeviceDataHazard> findByDeviceId(IPage<DeviceDataHazard> convert2IPage, @Param(Constants.WRAPPER) Wrapper<DeviceDataHazard> convert2Wrapper);

}
