|
|
|
@ -260,6 +260,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
hs.scene_name
|
|
|
|
|
from hw_electronic_fence hef
|
|
|
|
|
left join hw_scene hs on hef.scene_id = hs.scene_id
|
|
|
|
|
left join hw_fence_target hft on hft.electronic_fence_id = hef.electronic_fence_id
|
|
|
|
|
left join hw_device_mode hdm on hdm.device_mode_id = hef.device_mode_id
|
|
|
|
|
left join hw_device hd on hd.device_id = hef.device_id
|
|
|
|
|
<where>
|
|
|
|
|
hef.trigger_status !='9'
|
|
|
|
|
<if test="electronicFenceName != null and electronicFenceName != ''"> and hef.electronic_fence_name like concat('%', #{electronicFenceName}, '%')</if>
|
|
|
|
|