insert into psdc_thermometer_htdata(thermometer_htdata_id,device_id,thermometer_value,thermometer_value_in,thermometer_value_out,update_time)
values (#{thermometerHtdataId},#{deviceId},#{thermometerValue},#{thermometerValueIn},#{thermometerValueOut},#{updateTime})
update psdc_thermometer_htdata
thermometer_htdata_id = #{thermometerHtdataId},
device_id = #{deviceId},
thermometer_value = #{thermometerValue},
thermometer_value_in = #{thermometerValueIn},
thermometer_value_out = #{thermometerValueOut},
update_time = #{updateTime},
where thermometer_htdata_id = #{thermometerHtdataId}
delete from psdc_thermometer_htdata where thermometer_htdata_id = #{thermometerHtdataId}