From 5c3022d55dfc35c832a0e5982cc43319a2988837 Mon Sep 17 00:00:00 2001 From: huanghai <10402852@qq.com> Date: Mon, 24 Aug 2020 15:30:32 +0800 Subject: [PATCH] 'commit' --- .../AccessSystem/AccessSystemDao/AccessSystemDao.go | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dsSupport/MyModel/AccessSystem/AccessSystemDao/AccessSystemDao.go b/dsSupport/MyModel/AccessSystem/AccessSystemDao/AccessSystemDao.go index 496a99ac..9d5c91ac 100644 --- a/dsSupport/MyModel/AccessSystem/AccessSystemDao/AccessSystemDao.go +++ b/dsSupport/MyModel/AccessSystem/AccessSystemDao/AccessSystemDao.go @@ -297,6 +297,15 @@ func SaveAppRange(appId string, rangeCodes []string) error { return nil } +/** +功能:获取指定APP的使用范围对应信息 +*/ +func GetAppRange(appId string) ([]map[string]interface{}, error) { + sql := `select * from t_app_range where app_id=?` + list, err := db.SQL(sql, appId).Query().List() + return list, err +} + /******************************************以下为内部函数***************************/ /** 功能:获取最大排序号