select id, iot_type, iot_code, iot_status, qr_code, bind_status, del_flag, create_by, create_time, update_by, update_time from iot_machine insert into iot_machine iot_type, iot_code, iot_status, qr_code, bind_status, del_flag, create_by, create_time, update_by, update_time, #{iotType}, #{iotCode}, #{iotStatus}, #{qrCode}, #{bindStatus}, #{delFlag}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, update iot_machine iot_type = #{iotType}, iot_code = #{iotCode}, iot_status = #{iotStatus}, qr_code = #{qrCode}, bind_status = #{bindStatus}, del_flag = #{delFlag}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, where id = #{id} delete from iot_machine where id = #{id} delete from iot_machine where id in #{id}