select device_id, ip_address, port, warehouse_id, create_by, create_time, update_by, update_time, is_delete from device_info insert into device_info device_id, ip_address, port, warehouse_id, create_by, create_time, update_by, update_time, is_delete, #{deviceId}, #{ipAddress}, #{port}, #{warehouseId}, #{createBy}, #{createTime}, #{updateBy}, #{updateTime}, #{isDelete}, update device_info ip_address = #{ipAddress}, port = #{port}, warehouse_id = #{warehouseId}, create_by = #{createBy}, create_time = #{createTime}, update_by = #{updateBy}, update_time = #{updateTime}, is_delete = #{isDelete}, where device_id = #{deviceId} delete from device_info where device_id = #{deviceId} delete from device_info where device_id in #{deviceId}