public static Object getGroupsList(int UG_UType) { BL_UserEntity groups = new CRMTree.BLL.BL_UserEntity(); MD_GroupsList myCarModel = groups.getGroupsList(UG_UType); return(myCarModel); }
/// <summary> /// 获取用户组列表 /// </summary> /// <param name="UG_UType"></param> /// <returns></returns> public MD_GroupsList getGroupsList(int UG_UType) { string strSql = "select * from CT_User_Groups where UG_UType=" + UG_UType + " and UG_Name_EN is not null;"; MD_GroupsList GropsList = new MD_GroupsList(); GropsList.User_Groups_List = DataHelper.ConvertToList <CT_User_Groups>(strSql); return(GropsList); }