| | |
| | | package com.moral.mapper; |
| | | |
| | | import com.moral.common.mapper.BaseMapper; |
| | | import com.moral.entity.Sensor; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.moral.common.mapper.BaseMapper; |
| | | import com.moral.entity.Sensor; |
| | | |
| | | public interface SensorMapper extends BaseMapper<Sensor> { |
| | | List<Sensor> selectByVersionId(Integer deviceVersionId); |
| | |
| | | |
| | | List<Sensor> selectByOrgId(Integer organizationId); |
| | | |
| | | List<Map<String, Object>> getSensorsByDeviceVersionId(Map<String, Object> parameters); |
| | | |
| | | List<Sensor> getSensorsByCriteria(Map<String, Object> parameters); |
| | | |
| | | Map<String,Object> getSensorBySensorKey(@Param("sensor_key")String sensor_key); |
| | | List<Map<String, Object>> getSensorsByDeviceVersionId(Map<String, Object> parameters); |
| | | |
| | | List<Sensor> getSensorsByCriteria(Map<String, Object> parameters); |
| | | |
| | | Map<String, Object> getSensorBySensorKey(@Param("sensor_key") String sensor_key); |
| | | |
| | | List<Map<String, Object>> getSensorByDeviceId(@Param("id") String id); |
| | | |
| | | List<Map<String, Object>> getSensorByMonitorPointId(@Param("monitor_point_id") String monitor_point_id); |
| | | |
| | | List<Sensor> getSensorsByMac(Map<String, Object> parameters); |
| | | |
| | | List<Sensor> getSensorsInfoByMac(@Param("mac") String mac); |
| | | |
| | | List<Sensor> selectSenosrsByOrgId(Map<String, Object> parameters); |
| | | |
| | | List<String> getSensorKeys(); |
| | | |
| | | List<Map<String, Object>> getSensorByDId(String id); |
| | | } |