|
@@ -160,33 +160,32 @@
|
|
|
|
|
|
<update id="update" parameterType="api.common.pojo.po.model.VehiclePO">
|
|
|
update model_vehicle set
|
|
|
- vehicle_id = #{vehicleId,jdbcType=VARCHAR},
|
|
|
- vehicle_name = #{vehicleName,jdbcType=VARCHAR},
|
|
|
- description = #{description,jdbcType=VARCHAR},
|
|
|
- vehicle_type = #{vehicleType,jdbcType=VARCHAR},
|
|
|
- vehicle_model = #{vehicleModel,jdbcType=VARCHAR},
|
|
|
- vehicle_colour = #{vehicleColour,jdbcType=VARCHAR},
|
|
|
- max_speed = #{maxSpeed,jdbcType=DECIMAL},
|
|
|
- engine_power = #{enginePower,jdbcType=DECIMAL},
|
|
|
- max_deceleration = #{maxDeceleration,jdbcType=DECIMAL},
|
|
|
- max_steering_angle = #{maxSteeringAngle,jdbcType=DECIMAL},
|
|
|
- mass = #{mass,jdbcType=DECIMAL},
|
|
|
- front_surface_effective = #{frontSurfaceEffective,jdbcType=DECIMAL},
|
|
|
- air_drag_coefficient = #{airDragCoefficient,jdbcType=DECIMAL},
|
|
|
- rolling_resistance_coefficient = #{rollingResistanceCoefficient,jdbcType=DECIMAL},
|
|
|
- wheel_diameter = #{wheelDiameter,jdbcType=DECIMAL},
|
|
|
- wheel_drive = #{wheelDrive,jdbcType=DECIMAL},
|
|
|
- overall_efficiency = #{overallEfficiency,jdbcType=DECIMAL},
|
|
|
- front_distance = #{frontDistance,jdbcType=DECIMAL},
|
|
|
- rear_distance = #{rearDistance,jdbcType=DECIMAL},
|
|
|
- left_distance = #{leftDistance,jdbcType=DECIMAL},
|
|
|
- right_distance = #{rightDistance,jdbcType=DECIMAL},
|
|
|
- height_distance = #{heightDistance,jdbcType=DECIMAL},
|
|
|
- wheelbase = #{wheelbase,jdbcType=DECIMAL},
|
|
|
+ vehicle_id = #{vehicleId,jdbcType=VARCHAR},
|
|
|
+ vehicle_name = #{vehicleName,jdbcType=VARCHAR},
|
|
|
+ description = #{description,jdbcType=VARCHAR},
|
|
|
+ vehicle_type = #{vehicleType,jdbcType=VARCHAR},
|
|
|
+ vehicle_model = #{vehicleModel,jdbcType=VARCHAR},
|
|
|
+ vehicle_colour = #{vehicleColour,jdbcType=VARCHAR},
|
|
|
+ max_speed = #{maxSpeed,jdbcType=DECIMAL},
|
|
|
+ engine_power = #{enginePower,jdbcType=DECIMAL},
|
|
|
+ max_deceleration = #{maxDeceleration,jdbcType=DECIMAL},
|
|
|
+ max_steering_angle = #{maxSteeringAngle,jdbcType=DECIMAL},
|
|
|
+ mass = #{mass,jdbcType=DECIMAL},
|
|
|
+ front_surface_effective = #{frontSurfaceEffective,jdbcType=DECIMAL},
|
|
|
+ air_drag_coefficient = #{airDragCoefficient,jdbcType=DECIMAL},
|
|
|
+ rolling_resistance_coefficient = #{rollingResistanceCoefficient,jdbcType=DECIMAL},
|
|
|
+ wheel_diameter = #{wheelDiameter,jdbcType=DECIMAL},
|
|
|
+ wheel_drive = #{wheelDrive,jdbcType=DECIMAL},
|
|
|
+ overall_efficiency = #{overallEfficiency,jdbcType=DECIMAL},
|
|
|
+ front_distance = #{frontDistance,jdbcType=DECIMAL},
|
|
|
+ rear_distance = #{rearDistance,jdbcType=DECIMAL},
|
|
|
+ left_distance = #{leftDistance,jdbcType=DECIMAL},
|
|
|
+ right_distance = #{rightDistance,jdbcType=DECIMAL},
|
|
|
+ height_distance = #{heightDistance,jdbcType=DECIMAL},
|
|
|
+ wheelbase = #{wheelbase,jdbcType=DECIMAL},
|
|
|
|
|
|
- modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
- modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
|
|
|
- is_deleted = #{isDeleted,jdbcType=VARCHAR}
|
|
|
+ modify_time = #{modifyTime,jdbcType=TIMESTAMP},
|
|
|
+ modify_user_id = #{modifyUserId,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=VARCHAR}
|
|
|
</update>
|
|
|
|