select id, device_temp_id, slave_addr, slave_ip, slave_name, addr_start, addr_end,packet_length, timer, status, create_time, create_by, update_time, update_by, remark from iot_var_temp_salve
insert into iot_var_temp_salve
device_temp_id,
slave_addr,
slave_ip,
slave_name,
addr_start,
addr_end,
packet_length,
timer,
status,
create_time,
create_by,
update_time,
update_by,
remark,
#{deviceTempId},
#{slaveAddr},
#{slaveIp},
#{slaveName},
#{addrStart},
#{addrEnd},
#{packetLength},
#{timer},
#{status},
#{createTime},
#{createBy},
#{updateTime},
#{updateBy},
#{remark},
update iot_var_temp_salve
device_temp_id = #{deviceTempId},
slave_addr = #{slaveAddr},
slave_ip = #{slaveIp},
slave_name = #{slaveName},
addr_start = #{addrStart},
addr_end = #{addrEnd},
packet_length = #{packetLength},
timer = #{timer},
status = #{status},
create_time = #{createTime},
create_by = #{createBy},
update_time = #{updateTime},
update_by = #{updateBy},
remark = #{remark},
where id = #{id}
delete from iot_var_temp_salve where id = #{id}
delete from iot_var_temp_salve where id in
#{id}
delete from iot_var_temp_salve where device_temp_id in
#{id}