INSERT INTO device_info (device_id, device_sn, type_id, wsclient_id, space_id,
device_name, remark, building_id, asset_id, flag, company_id,
created_by, created_timestamp, updated_by, updated_timestamp,
project_id, floor_id, monitoring_point_name, data_provider_id,
gateway_info_id, alarm_level, unit, data_mapping)
VALUES
(
#{item.deviceId,jdbcType=VARCHAR},
#{item.deviceSn,jdbcType=VARCHAR},
#{item.typeId,jdbcType=INTEGER},
#{item.wsclientId,jdbcType=INTEGER},
#{item.spaceId,jdbcType=BIGINT},
#{item.deviceName,jdbcType=VARCHAR},
#{item.remark,jdbcType=VARCHAR},
#{item.buildingId,jdbcType=BIGINT},
#{item.assetId,jdbcType=BIGINT},
#{item.flag,jdbcType=INTEGER},
#{item.companyId,jdbcType=BIGINT},
#{item.createdBy,jdbcType=BIGINT},
#{item.createdTimestamp,jdbcType=TIMESTAMP},
#{item.updatedBy,jdbcType=BIGINT},
#{item.updatedTimestamp,jdbcType=BIGINT},
#{item.projectId,jdbcType=BIGINT},
#{item.floorId,jdbcType=BIGINT},
#{item.monitoringPointName,jdbcType=VARCHAR},
#{item.dataProviderId,jdbcType=BIGINT},
#{item.gatewayInfoId,jdbcType=BIGINT},
#{item.alarmLevel,jdbcType=INTEGER},
#{item.unit,jdbcType=VARCHAR},
#{item.dataMapping,jdbcType=LONGVARCHAR}
)