using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using ProjectBase.Data.BaseDAL; using ProjectBase.Data.Encrypt; using SIMDP.DAL.IDALSQL; using SIMDP.Model; namespace SIMDP.BLL { public class BlLogLogIn : BaseBLL { private IDalLogLogIn dalLogLogIn; /// /// 构造函数 /// public BlLogLogIn() : base() { base.Init(this.GetType().FullName, System.Reflection.Assembly.GetExecutingAssembly().GetName().Name); dalLogLogIn = baseDal as IDalLogLogIn; } /// /// 获取组织ID与组织名称的集合 /// /// public Dictionary GetGroupName() { Dictionary dic = new Dictionary(); //BlAuthoryGroup bl = new BlAuthoryGroup(); List group = BLLFactory.Instance.GetAll(); if (group.Count == 0 || group == null) { return null; } foreach (MoAuthoryGroup item in group) { dic.Add(item.GroupId,item.GroupName); } return dic; } } }