|
|
|
@ -175,8 +175,8 @@ select a.device_mode_name,sum(a.sum) sum from (select
|
|
|
|
<if test="onlineStatus != null and onlineStatus != ''"> and hd.online_status = #{onlineStatus}</if>
|
|
|
|
<if test="onlineStatus != null and onlineStatus != ''"> and hd.online_status = #{onlineStatus}</if>
|
|
|
|
<if test="deviceCode != null and deviceCode != ''"> and device_code like concat('%', #{deviceCode}, '%')</if>
|
|
|
|
<if test="deviceCode != null and deviceCode != ''"> and device_code like concat('%', #{deviceCode}, '%')</if>
|
|
|
|
<if test="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if>
|
|
|
|
<if test="deviceName != null and deviceName != ''"> and device_name like concat('%', #{deviceName}, '%')</if>
|
|
|
|
<if test="sceneId != null "> and scene_id = #{sceneId}</if>
|
|
|
|
<if test="sceneId != null "> and hd.scene_id = #{sceneId}</if>
|
|
|
|
<if test="monitorUnitId != null "> and monitor_unit_id = #{monitorUnitId}</if>
|
|
|
|
<if test="monitorUnitId != null "> and hd.monitor_unit_id = #{monitorUnitId}</if>
|
|
|
|
<if test="deviceType != null and deviceType != ''"> and device_type = #{deviceType}</if>
|
|
|
|
<if test="deviceType != null and deviceType != ''"> and device_type = #{deviceType}</if>
|
|
|
|
<if test="networkingMode != null and networkingMode != ''"> and networking_mode = #{networkingMode}</if>
|
|
|
|
<if test="networkingMode != null and networkingMode != ''"> and networking_mode = #{networkingMode}</if>
|
|
|
|
<if test="accessProtocol != null "> and access_protocol = #{accessProtocol}</if>
|
|
|
|
<if test="accessProtocol != null "> and access_protocol = #{accessProtocol}</if>
|
|
|
|
|