|  |  |  | 
|---|
|  |  |  | package com.moral.api.mapper; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Map; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.moral.api.entity.Device; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.core.mapper.BaseMapper; | 
|---|
|  |  |  | import io.lettuce.core.dynamic.annotation.Param; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * <p> | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | public interface DeviceMapper extends BaseMapper<Device> { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /*监测因子趋势图数据*/ | 
|---|
|  |  |  | 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); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|