| | |
| | | package com.moral.api.mapper; |
| | | |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.moral.api.entity.Device; |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.moral.api.pojo.dto.dataDisplay.HeatMapDTO; |
| | | import com.moral.api.pojo.vo.device.AppDeviceVo; |
| | | import com.moral.api.pojo.vo.device.DeviceVO; |
| | | import com.moral.api.vo.OnlineRateVo; |
| | | |
| | | import io.lettuce.core.dynamic.annotation.Param; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | /*监测因子趋势图数据*/ |
| | | List<Map<String, Object>> getTrendChartData(Map<String, Object> params); |
| | | |
| | | List<Map<String, Object>> deviceList(@Param("organizationId") int organizationId, |
| | | @Param("regionCode") int regionCode, |
| | | @Param("region") String region, |
| | | @Param("type") String type, |
| | | @Param("sensorCode") String sensorCode, |
| | | @Param("times") String times, |
| | | @Param("endHourlyTime") String endHourlyTime); |
| | | |
| | | List<Integer> deviceIdList(@Param("organizationId") int organizationId); |
| | | |
| | | List<Integer> deviceOrgIdList(@Param("organizationId") int organizationId); |
| | | |
| | | List<String> deviceMacs(@Param("organizationId") int organizationId); |
| | | |
| | | List<AppDeviceVo> getDevices(@Param("mac") String mac,@Param("organizationId") Integer organizationId); |
| | | |
| | | |
| | | List<HeatMapDTO> getHeatMap(HashMap<String,Object> params); |
| | | |
| | | |
| | | List<HeatMapDTO> getHeatMapV1(HashMap<String,Object> params); |
| | | |
| | | //设备在线率分页 |
| | | Page<OnlineRateVo> getPage(Page page, @Param("organizationId")Integer organizationId); |
| | | |
| | | //设备在线率不分页 |
| | | List<OnlineRateVo> getLists(List<String> macs,@Param("state")Integer state); |
| | | |
| | | List<DeviceVO> getListVo(Integer monitorPointId); |
| | | |
| | | } |