From 4c4b97b0fc6b418254b8b7c29e55c7ee8f39997b Mon Sep 17 00:00:00 2001
From: jinpengyong <jpy123456>
Date: Fri, 08 Oct 2021 10:05:56 +0800
Subject: [PATCH] 臭氧预测实测对比
---
screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
index 5bb04ba..a422955 100644
--- a/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
+++ b/screen-manage/src/main/resources/mapper/SpecialDeviceMapper.xml
@@ -67,8 +67,7 @@
<select id="selectOrgByMac" resultType="com.moral.api.entity.Organization">
SELECT area_code, city_code
FROM organization
- WHERE organization_id =
- (SELECT organization_id FROM special_device WHERE mac = #{mac})
+ WHERE id = (SELECT organization_id FROM special_device WHERE mac = #{mac})
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.8.0