沈斌
2018-01-30 b4cabe178f1a36433270c79048beecfab0edc487
src/main/java/com/moral/mapper/DeviceMapper.java
@@ -12,6 +12,12 @@
public interface DeviceMapper extends BaseMapper<Device>{
   List<Map<String, Object>> getDeviceStatesByAccount(Map<String, Object> parameters);
    List<Device>  selectWithRelationData(Example example);
   List<Map<String, Object>> getSensorsByDevice(@Param("mac")String mac);
   List<Device>  selectWithRelationData(Example example);
   List<String> getDeviceMacByMonitorPointAndDeviceVersion(@Param("monitorPointId")Integer monitorPointId,@Param("deviceVersionId")Integer deviceVersionId);
   List<Map<String, Object>> getDeviceVersionIdByMonitorPoint(Integer monitorPointId);
}