package com.yeejoin.amos.boot.module.jxiop.biz.mapper2;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.jxiop.biz.ESDto.ESWindSpeed;
import com.yeejoin.amos.boot.module.jxiop.biz.entity.TemporaryData;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface TemporaryDataMapper extends BaseMapper<TemporaryData> {


    List<Map<String, String>> timingTemporarysSorageData (@RequestParam(value ="gatewayId" ) String gatewayId);


    Map<String, String> getStatisticsInfo (@RequestParam(value ="gatewayId" ) String gatewayId,
                                           @RequestParam(value ="equipmentIndexName" ) String equipmentIndexName);


    List<ESWindSpeed> getAllData();
}
