diff --git a/zc-business/src/main/resources/mapper/business/DcEventMapper.xml b/zc-business/src/main/resources/mapper/business/DcEventMapper.xml index 7d8acdf5..02766ac8 100644 --- a/zc-business/src/main/resources/mapper/business/DcEventMapper.xml +++ b/zc-business/src/main/resources/mapper/business/DcEventMapper.xml @@ -396,8 +396,6 @@ WHEN '3' THEN '济南方向' END AS direction, dc_event.user_id, - dc_event.dimension, - dc_event.longitude, dc_event.is_perceived, dc_event.user_id as user_id, sys_user.nick_name as nickName, @@ -504,12 +502,17 @@ dc_event.lang as lang, dc_event_type.event_name AS event_name, sys_dept.dept_name as organization_name, + + dc_stake_mark.latitude AS dimension, + dc_stake_mark.longitude AS longitude, dc_road.road_name as road_name + FROM dc_event LEFT JOIN dc_event_type ON dc_event_type.event_type = dc_event.event_type LEFT JOIN sys_dept ON dc_event.dept_id = sys_dept.dept_id LEFT JOIN dc_road ON dc_event.road_id = dc_road.id LEFT JOIN sys_user on dc_event.user_id = sys_user.user_id + LEFT JOIN dc_stake_mark ON dc_event.stake_mark=dc_stake_mark.stake_mark AND dc_event.direction=dc_stake_mark.direction where dc_event.id = #{id}