From 0915f9c21ee26c3b52a763eed9000d3b165e19ce Mon Sep 17 00:00:00 2001
From: kaiyu <404897439@qq.com>
Date: Fri, 27 Nov 2020 11:22:15 +0800
Subject: [PATCH] BS登陆接口增加返回数据regionCode 开通mapPath接口,通过token获取用户地图

---
 src/main/resources/mapper/DictionaryDataMapper.xml |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/src/main/resources/mapper/DictionaryDataMapper.xml b/src/main/resources/mapper/DictionaryDataMapper.xml
index 67efb58..1cb67b9 100644
--- a/src/main/resources/mapper/DictionaryDataMapper.xml
+++ b/src/main/resources/mapper/DictionaryDataMapper.xml
@@ -16,8 +16,16 @@
     id, dict_id, dict_data_key, dict_data_name, dict_data_value, is_fixed, is_delete, 
     parent_id, description
   </sql>
-  <select id="selectSupperOrgId" parameterType="java.lang.String" resultType="java.lang.Integer">
+  <select id="selectSupperOrgId"  resultType="java.lang.Integer">
     select dict_data_value from dictionary_data
     where dict_data_key = 'auth_config_super_org'
   </select>
+  <select id="isSupperOrgId"  resultType="java.lang.Boolean">
+    select count(*) from dictionary_data
+    where dict_data_key = 'auth_config_super_org' and dict_data_value = #{orgId,jdbcType=INTEGER}
+  </select>
+  <select id="getDefultAlarm" resultType="java.lang.String">
+      select dict_data_value from dictionary_data
+    where dict_data_key = 'default_alarm_config_value'
+  </select>
 </mapper>
\ No newline at end of file

--
Gitblit v1.8.0