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, Object>> timingTemporarysSorageData (@RequestParam(value ="gatewayId" ) String gatewayId);


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


    List<ESWindSpeed> getAllData();

    List<Map<String, String>> getStationWindSpeedStatistics (@RequestParam(value ="gatewayId") String gatewayId,
                                                             @RequestParam(value ="equipmentIndexName") String equipmentIndexName);
}
