|
|
@ -77,6 +77,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<include refid="selectDcWarningVo"/> |
|
|
|
where id = #{id} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectAlarmById" parameterType="string" resultType="hashmap"> |
|
|
|
<include refid="selectDcWarningVo"/> |
|
|
|
where warning_source = '5' and JSON_EXTRACT(other_config, '$.id') = #{alarmId}; |
|
|
|
</select> |
|
|
|
<select id="export" resultType="com.zc.business.domain.DcWarning"> |
|
|
|
SELECT warning.`id`,warning.`stake_mark`, warning.`direction`,warning.end_time,warning.event_cause, |
|
|
|
warning.lane,warning.vehicle_type,mark.longitude,mark.latitude, |
|
|
|