insert into simulation.scene_accident
(accident_id,scene_name,self_driving,target_driving,
self_reaction,conflict_behavior,conflict_type,
scence_resume,scene_time,scene_weather,
create_user_id,create_time,modify_user_id,modify_time,
is_deleted,share,video_preview,video_address,osgb_address,xml_address,xodr_address,
json_address,max_time)
values (#{accidentId,jdbcType=VARCHAR},#{sceneName,jdbcType=VARCHAR},#{selfDriving,jdbcType=VARCHAR}, #{targetDriving,jdbcType=VARCHAR},
#{selfReaction,jdbcType=VARCHAR}, #{conflictBehavior,jdbcType=VARCHAR},#{conflictType,jdbcType=VARCHAR},
#{scenceResume,jdbcType=VARCHAR}, #{sceneTime,jdbcType=VARCHAR},#{sceneWeather,jdbcType=VARCHAR},
#{createUserId,jdbcType=VARCHAR},#{createTime},#{modifyUserId,jdbcType=VARCHAR},#{modifyTime},
#{isDeleted,jdbcType=VARCHAR}, #{share,jdbcType=VARCHAR},#{videoPreview,jdbcType=VARCHAR},#{videoAddress,jdbcType=VARCHAR},#{osgbAddress,jdbcType=VARCHAR},
#{xmlAddress,jdbcType=VARCHAR}, #{xodrAddress,jdbcType=VARCHAR},#{jsonAddress,jdbcType=VARCHAR},#{maxTime,jdbcType=VARCHAR})
insert into simulation.scene_accident
(accident_id,scene_name,self_driving,target_driving,
self_reaction,conflict_behavior,conflict_type,
scence_resume,scene_time,scene_weather,
create_user_id,create_time,modify_user_id,modify_time,
is_deleted,share,video_preview,video_address,osgb_address,xml_address,xodr_address,
json_address,max_time)
values
(#{item.accidentId,jdbcType=VARCHAR},#{item.sceneName,jdbcType=VARCHAR},#{item.selfDriving,jdbcType=VARCHAR}, #{item.targetDriving,jdbcType=VARCHAR},
#{item.selfReaction,jdbcType=VARCHAR}, #{item.conflictBehavior,jdbcType=VARCHAR},#{item.conflictType,jdbcType=VARCHAR},
#{item.scenceResume,jdbcType=VARCHAR}, #{item.sceneTime,jdbcType=VARCHAR},#{item.sceneWeather,jdbcType=VARCHAR},
#{item.createUserId,jdbcType=VARCHAR},#{item.createTime},#{item.modifyUserId,jdbcType=VARCHAR},#{item.modifyTime},
#{item.isDeleted,jdbcType=VARCHAR}, #{item.share,jdbcType=VARCHAR},#{item.videoPreview,jdbcType=VARCHAR},#{item.videoAddress,jdbcType=VARCHAR},#{item.osgbAddress,jdbcType=VARCHAR},
#{item.xmlAddress,jdbcType=VARCHAR}, #{item.xodrAddress,jdbcType=VARCHAR},#{item.jsonAddress,jdbcType=VARCHAR},#{item.maxTime,jdbcType=VARCHAR})
update simulation.scene_accident
is_deleted = #{isDeleted,jdbcType=VARCHAR},
modify_user_id = #{modifyUserId,jdbcType=VARCHAR},
modify_time = #{modifyTime},
where accident_id = #{accidentId,jdbcType=VARCHAR}
update simulation.scene_accident
set scene_name=#{sceneName},self_driving=#{selfDriving},
target_driving=#{targetDriving},self_reaction=#{selfReaction},
conflict_behavior=#{conflictBehavior},conflict_type=#{conflictType},
scence_resume=#{scenceResume},scene_time=#{sceneTime},
scene_weather=#{sceneWeather},modify_time=#{modifyTime},
modify_user_id=#{modifyUserId},video_address=#{videoAddress},
osgb_address=#{osgbAddress},xml_address=#{xmlAddress},
xodr_address=#{xodrAddress},json_address=#{jsonAddress},max_time=#{maxTime}
where accident_id = #{accidentId,jdbcType=VARCHAR}
update simulation.scene_accident
set scene_name=#{item.sceneName},self_driving=#{item.selfDriving},
target_driving=#{item.targetDriving},self_reaction=#{item.selfReaction},
conflict_behavior=#{item.conflictBehavior},conflict_type=#{item.conflictType},
scence_resume=#{item.scenceResume},scene_time=#{item.sceneTime},
scene_weather=#{item.sceneWeather},modify_time=#{item.modifyTime},
modify_user_id=#{item.modifyUserId},video_address=#{item.videoAddress},
osgb_address=#{item.osgbAddress},xml_address=#{item.xmlAddress},
xodr_address=#{item.xodrAddress},json_address=#{item.jsonAddress},max_time=#{item.maxTime}
where accident_id = #{item.accidentId,jdbcType=VARCHAR}