// mapList = influxdbUtil.query("SELECT * FROM indicators_" + stationBasic.getFanGatewayId() + " where frontModule=~/逆变器/ and(equipmentIndexName='日发电量' or equipmentIndexName='月发电量' or equipmentIndexName='年发电量' or equipmentIndexName='有功功率')");
Stringsql="SELECT DISTINCT value FROM iot_data_"+gatewayId+" WHERE equipmentIndexName = '瞬时风速' and equipmentSpecificName =~/"+name+"/and time >='"+time+"'GROUP BY time(2m)";
Stringsql1="SELECT DISTINCT value FROM iot_data_"+gatewayId+" WHERE equipmentIndexName = '有功功率' and equipmentSpecificName =~/"+name+"/ and time >='"+time+"'GROUP BY time(2m)";
Stringsql="SELECT time ,equipmentIndexName ,value FROM iot_data_"+gatewayId+" WHERE time >'"+time+"' and equipmentSpecificName =~/"+equipNumber[0]+"子阵/ and equipmentSpecificName =~/逆变器"+equipNumber[1]+"/ and equipmentSpecificName =~/"+Integer.parseInt(equipNumber[2])+"汇流箱/ and equipmentIndexName =~/路电流/";
StringtimeSql="SELECT DISTINCT value FROM iot_data_"+gatewayId+" WHERE time >'"+time+"' and equipmentSpecificName =~/"+equipNumber[0]+"子阵/ and equipmentSpecificName =~/逆变器"+equipNumber[1]+"/ and equipmentSpecificName =~/"+Integer.parseInt(equipNumber[2])+"汇流箱/ and equipmentIndexName =~/路电流/ group by time(2m)";
@Select("select `value`, created_time, `value_f` as valueF from iot_data.indicator_data where equipment_index_name =#{equipmentIndexName} and equipment_number = #{equipmentNumber} and ts >= #{startTime} and ts <= #{endTime} and gateway_id =#{gatewayId}")
@Select("select `value`, created_time, `value_f` as valueF, equipment_index_name from iot_data.indicator_data where equipment_index_name like '%路电流%' and equipment_number = #{equipmentNumber} and ts >= #{startTime} and ts <= #{endTime} and gateway_id =#{gatewayId}")
@Select("select last(`value_f`) as `value_f`,created_time from iot_data.indicator_data where equipment_index_name =#{equipmentIndexName} and gateway_id=#{gatewayId} ")