insert into model_sensor_lidar(
id,
sensor_code,
sensor_name,
description,
near_distance,
far_distance,
fov_h,
fov_v,
line_number,
frame_rate,
output_points,
output_mode,
share,
create_time,
modify_time,
create_user_id,
modify_user_id,
is_deleted
)
values(
#{id,jdbcType=VARCHAR},
#{sensorCode,jdbcType=VARCHAR},
#{sensorName,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{nearDistance,jdbcType=DECIMAL},
#{farDistance,jdbcType=DECIMAL},
#{fovH,jdbcType=DECIMAL},
#{fovV,jdbcType=DECIMAL},
#{lineNumber,jdbcType=INTEGER},
#{frameRate,jdbcType=DECIMAL},
#{outputPoints,jdbcType=INTEGER},
#{outputMode,jdbcType=VARCHAR},
#{share,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
#{modifyUserId,jdbcType=VARCHAR},
#{isDeleted,jdbcType=VARCHAR}
)
update model_sensor_lidar set
sensor_name = #{sensorName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
near_distance = #{nearDistance,jdbcType=DECIMAL},
far_distance = #{farDistance,jdbcType=DECIMAL},
fov_h = #{fovH,jdbcType=DECIMAL},
fov_v = #{fovV,jdbcType=DECIMAL},
line_number = #{lineNumber,jdbcType=INTEGER},
frame_rate = #{frameRate,jdbcType=DECIMAL},
output_points = #{outputPoints,jdbcType=INTEGER},
output_mode = #{outputMode,jdbcType=VARCHAR},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
update model_sensor_lidar set
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
is_deleted = #{isDeleted,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}