From c7d5088dbd18cbbcb98d12aeac35e7d38cdf93be Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Sun, 26 Sep 2021 17:31:23 +0800
Subject: [PATCH] 臭氧8小时滑动值算法,分钟,小时数据时间变更为开始时间

---
 screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
index 82d3e45..a422955 100644
--- a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
+++ b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
@@ -63,4 +63,11 @@
         where
             d.`is_delete` = 0;
     </select>
+
+    <select id="selectOrgByMac" resultType="com.moral.api.entity.Organization">
+        SELECT area_code, city_code
+        FROM organization
+        WHERE id = (SELECT organization_id FROM special_device WHERE mac = #{mac})
+    </select>
+
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0