Exemplo n.º 1
0
        /// <summary>
        /// 根据查询字符串获取部门信息列表
        /// </summary>
        /// <param name="cmd"></param>
        /// <returns></returns>
        public List <Department> GetDepartmentsByString(string cmd)
        {
            List <Department> list = ddao.GetListByString(cmd);

            if (list == null)
            {
                return(null);
            }
            return(list);
        }