南昌市物联网技防平台-后台
zengh
2021-04-09 abe248d82d6c5cd13410e87d32563cf5010d4ca9
设备掉线跳转
1 files modified
5 ■■■■ changed files
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/equipment/mapper/EquipmentMapper.xml 5 ●●●● patch | view | raw | blame | history
blade-service/blade-jfpts/src/main/java/org/springblade/jfpt/equipment/mapper/EquipmentMapper.xml
@@ -165,9 +165,12 @@
            and dtype=#{equipment.dtype}
        </if>
        <if test="dxtype!=null">
        <if test="dxtype!=null and dxtype == 1">
            and heartbeat >= DATE_SUB(NOW(),INTERVAL 1 DAY)
        </if>
        <if test="dxtype!=null and dxtype == 0">
            and heartbeat &lt; DATE_SUB(NOW(),INTERVAL 1 DAY)
        </if>
        <if test="childList!=null and childList.size>0">
            and deptId in