package com.xunmei.core.resumption.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xunmei.core.resumption.domain.Protection;
import com.xunmei.core.resumption.dto.protection.ProtectionLogPageDto;
import com.xunmei.core.resumption.dto.protection.ProtectionPageDto;
import com.xunmei.core.resumption.vo.protection.ProtectionLogPageVo;
import com.xunmei.core.resumption.vo.protection.ProtectionPageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author oygj
 * @since 2022-09-11
 */
@Mapper
public interface ProtectionMapper extends BaseMapper<Protection> {
    Page<ProtectionPageVo> pageList(@Param("page") Page<ProtectionPageVo> page, @Param("request") ProtectionPageDto request);
//    MePage<pageSensorVo> pageSensorList(@Param("mePage") MePage<pageSensorVo> mePage, @Param("request") pageSensorDto request);
//
//    MePage<ProtectionPageVo4Mybatis> pageByMybatis(@Param("request") ProtectionPageDto4Mybatis request, MePage<ProtectionPageVo4Mybatis> mePage);
//
//    List<ProtectSensorList> selectProtectSensorData(@Param("orgId") Long orgId, @Param("startTime") Date startTime, @Param("endTime") Date endTime);
//
//    List<ProductDeviceAlarmList> productDeviceAlarmData(@Param("orgId") Long orgId, @Param("startTime") Date startTime, @Param("endTime") Date endTime,@Param("typeList")List<Long> typeList,@Param("sorce") Integer sorce);

//    List<Long> selectIds(Long orgId);
}
