change - 传感器阈值显示问题处理,温度曲线y轴刻度处理

main
wenjy 3 years ago
parent e9894f2c0b
commit 5fa3df1912

@ -383,6 +383,9 @@
color: "#000000", color: "#000000",
}, },
}, },
min:20,
max:30,
interval: 1,
}, },
], ],
dataZoom: [ dataZoom: [

@ -54,7 +54,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
left join base_alarm_type t2 on t1.AlarmType_Id = t2.alarmType_Id left join base_alarm_type t2 on t1.AlarmType_Id = t2.alarmType_Id
left join base_sensor_info t3 on t1.Sensor_Id = t3.Sensor_Id left join base_sensor_info t3 on t1.Sensor_Id = t3.Sensor_Id
<where> <where>
<if test="sensorId != null and sensorId != ''"> and t3.Sensor_Name like concat('%', #{sensorId}, '%')</if> <if test="sensorId != null and sensorId != ''"> and t3.Sensor_Id like concat('%', #{sensorId}, '%')</if>
<if test="alarmtypeId != null and alarmtypeId != ''"> and t1.AlarmType_Id = #{alarmtypeId}</if> <if test="alarmtypeId != null and alarmtypeId != ''"> and t1.AlarmType_Id = #{alarmtypeId}</if>
</where> </where>
</select> </select>

Loading…
Cancel
Save