insert into model_sensor_gps(
id,
sensor_code,
sensor_name,
description,
longitude_offset,
latitude_offset,
frame_rate,
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},
#{longitudeOffset,jdbcType=DECIMAL},
#{latitudeOffset,jdbcType=DECIMAL},
#{frameRate,jdbcType=DECIMAL},
#{share,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP},
#{modifyTime,jdbcType=TIMESTAMP},
#{createUserId,jdbcType=VARCHAR},
#{modifyUserId,jdbcType=VARCHAR},
#{isDeleted,jdbcType=VARCHAR}
)
update model_sensor_gps set
sensor_name = #{sensorName,jdbcType=VARCHAR},
description = #{description,jdbcType=VARCHAR},
longitude_offset = #{longitudeOffset,jdbcType=DECIMAL},
latitude_offset = #{latitudeOffset,jdbcType=DECIMAL},
frame_rate = #{frameRate,jdbcType=DECIMAL},
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}
update model_sensor_gps set
modify_time = #{modifyTime,jdbcType=TIMESTAMP},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
is_deleted = #{isDeleted,jdbcType=VARCHAR}
where id = #{id,jdbcType=VARCHAR}