jinpengyong
2024-03-15 c9f757b9cbfcea425179eca92d310319c1aac8b6
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>