jinpengyong
2024-03-13 4f0ab5fbe931949871b2a777c90f00f3661404c6
screen-api/src/main/resources/mapper/DeviceMapper.xml
@@ -257,7 +257,7 @@
                #{id}
            </foreach>
        </if>
        inner JOIN device_map_hierarchy as dm on d.id = dm.device_id
        left JOIN device_map_hierarchy as dm on d.id = dm.device_id
        <if test="tableName !=null">
            left join history_hourly${tableName} hd on hd.time = #{start}  and d.mac = hd.mac
        </if>