|
@@ -6,11 +6,14 @@
|
|
|
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)
|
|
|
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},
|
|
@@ -23,6 +26,7 @@
|
|
|
select
|
|
|
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_address,video_preview,osgb_address,xml_address,xodr_address,
|
|
|
json_address
|
|
@@ -30,6 +34,7 @@
|
|
|
select
|
|
|
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_address,video_preview,osgb_address,xml_address,xodr_address,
|
|
|
json_address
|
|
@@ -86,6 +91,7 @@
|
|
|
select
|
|
|
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_address,video_preview,osgb_address,xml_address,xodr_address,
|
|
|
json_address
|
|
@@ -123,12 +129,14 @@
|
|
|
select
|
|
|
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_address,video_preview,osgb_address,xml_address,xodr_address,
|
|
|
json_address
|
|
|
from( select
|
|
|
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_address,video_preview,osgb_address,xml_address,xodr_address,
|
|
|
json_address
|
|
@@ -163,6 +171,7 @@
|
|
|
select
|
|
|
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_address,video_preview,osgb_address,xml_address,xodr_address,
|
|
|
json_address
|
|
@@ -243,16 +252,13 @@
|
|
|
</update>
|
|
|
|
|
|
|
|
|
- <select id="querySceneAccidentByNmae" parameterType="api.common.pojo.param.scene.SceneAccidentParam"
|
|
|
- resultType="api.common.pojo.po.scene.SceneAccidentPO">
|
|
|
+ <select id="querySceneAccidentByNmae" parameterType="java.lang.String"
|
|
|
+ resultType="java.lang.Integer">
|
|
|
select
|
|
|
- accident_id,scene_name
|
|
|
+ count(scene_name)
|
|
|
from simulation.scene_accident
|
|
|
- <where>
|
|
|
+ where
|
|
|
is_deleted = '0'
|
|
|
- <if test="sceneName != null and sceneName != ''">
|
|
|
and scene_name =#{sceneName,jdbcType=VARCHAR}
|
|
|
- </if>
|
|
|
- </where>
|
|
|
</select>
|
|
|
</mapper>
|