From 3c689f6b593a12a142543b6e922ee8c39c8c4e8a Mon Sep 17 00:00:00 2001
From: cjl <909710561@qq.com>
Date: Mon, 01 Apr 2024 16:58:15 +0800
Subject: [PATCH] fix:臭氧任务执行

---
 screen-api/src/main/resources/mapper/DeviceMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/screen-api/src/main/resources/mapper/DeviceMapper.xml b/screen-api/src/main/resources/mapper/DeviceMapper.xml
index 570004a..64c99ba 100644
--- a/screen-api/src/main/resources/mapper/DeviceMapper.xml
+++ b/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>

--
Gitblit v1.8.0