修改设备历史数据查询接口返回字段
This commit is contained in:
parent
18d1c67b43
commit
8c29732feb
|
@ -73,7 +73,7 @@
|
||||||
select t.collection_time,t.oil_pressure,t.cas_pressure,t.pre_pressure,t.status_end_time
|
select t.collection_time,t.oil_pressure,t.cas_pressure,t.pre_pressure,t.status_end_time
|
||||||
<if test="deviceProduct!=null and deviceProduct=='knpc'">,t.run_mode,t.temperature,t.humidity,t.well_status,t.plug_status</if>
|
<if test="deviceProduct!=null and deviceProduct=='knpc'">,t.run_mode,t.temperature,t.humidity,t.well_status,t.plug_status</if>
|
||||||
<if test="deviceProduct!=null and deviceProduct=='etc'"></if>
|
<if test="deviceProduct!=null and deviceProduct=='etc'"></if>
|
||||||
<if test="deviceProduct!=null and deviceProduct=='scss'">,t.solarVoltage</if>
|
<if test="deviceProduct!=null and deviceProduct=='scss'">t.ctl_model as runMode,t.solar_voltage</if>
|
||||||
from ${tableName} t
|
from ${tableName} t
|
||||||
<where>
|
<where>
|
||||||
t.device_id = #{deviceId}
|
t.device_id = #{deviceId}
|
||||||
|
|
Loading…
Reference in New Issue