diff --git a/zc-business/src/main/resources/mapper/business/DcEventMapper.xml b/zc-business/src/main/resources/mapper/business/DcEventMapper.xml
index 64a9f5cf..6274da76 100644
--- a/zc-business/src/main/resources/mapper/business/DcEventMapper.xml
+++ b/zc-business/src/main/resources/mapper/business/DcEventMapper.xml
@@ -29,6 +29,7 @@
+
@@ -55,6 +56,7 @@
+
@@ -225,6 +227,7 @@
create_time,
update_time,
event_source_tips,
+ occurrence_time,
in_tunnel,
road_id
FROM
@@ -235,6 +238,7 @@
dc_event.user_id,
dc_event.start_time,
dc_event.end_time,
+ dc_event.occurrence_time,
dc_event.estimated_end_time,
dc_event.event_level,
dc_event.event_type AS event_type,
@@ -335,6 +339,7 @@
dc_event.estimated_end_time,
dc_event.event_level,
dc_event.event_title,
+ dc_event.occurrence_time,
dc_event.event_type AS event_type,
CASE dc_event.event_type
WHEN '1' THEN '交通事故'
@@ -431,12 +436,9 @@
FROM dc_event
LEFT JOIN dc_event_type ON dc_event_type.event_type = dc_event.event_type
- LEFT JOIN dc_stake_mark on dc_stake_mark.stake_mark = dc_event.stake_mark and dc_stake_mark.direction = dc_event.description
- LEFT JOIN dc_road_section on dc_stake_mark.section_id = dc_road_section.id
- LEFT JOIN dc_road on dc_road_section.road_id = dc_road.id
- -- -- 关联机构表
- LEFT JOIN dc_organization ON dc_stake_mark.stake_mark = dc_organization.stake_mark
-
+ LEFT JOIN dc_stake_mark ON dc_stake_mark.direction = dc_event.description and dc_stake_mark.stake_mark = dc_event.stake_mark
+ LEFT JOIN dc_organization ON dc_organization.description = dc_event.direction and dc_organization.stake_mark = dc_event.stake_mark
+ LEFT JOIN dc_road ON dc_event.road_id = dc_road.id
where dc_event.id = #{id}
@@ -469,6 +471,7 @@
road_id,
lang,
event_title,
+ occurrence_time,
#{id},
@@ -495,6 +498,7 @@
#{roadId},
#{lang},
#{eventTitle},
+ #{occurrenceTime},
@@ -524,6 +528,7 @@
road_id = #{roadId},
road_id = #{lang},
event_title = #{eventTitle},
+ occurrence_time = #{occurrenceTime},
where id = #{id}