/// <summary>
        /// 返回所有管线信息数据集合
        /// </summary>
        /// <returns></returns>
        public List <GX_DICT_CONFIG> FindAllDictConfig(decimal id)
        {
            GxDictConfigRepository dictConfigRepository = new GxDictConfigRepository(unitOfWork);

            return(dictConfigRepository.FindAllRjxx(id));
        }
        /// <summary>
        /// 返回所有管线信息数据集合
        /// </summary>
        /// <returns></returns>
        public List <GX_DICT_CONFIG> FindAllDictConfig(string name)
        {
            GxDictConfigRepository dictConfigRepository = new GxDictConfigRepository(unitOfWork);

            return(dictConfigRepository.FindAllRjxx(name));
        }
        public void DeleteEntity(GX_DICT_CONFIG dictConfig)
        {
            GxDictConfigRepository dictConfigRepository = new GxDictConfigRepository(unitOfWork);

            dictConfigRepository.DeleteEntity(dictConfig);
        }
        /// <summary>
        /// 返回所有数据列表的最后一条数据
        /// </summary>
        /// <returns></returns>
        public GX_DICT_CONFIG FindDictConfig()
        {
            GxDictConfigRepository dictConfigRepository = new GxDictConfigRepository(unitOfWork);

            return(dictConfigRepository.FindRjxx());
        }
        /// <summary>
        /// 返回分页数据列表
        /// </summary>
        /// <param name="name"></param>
        /// <param name="parentId"></param>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalRecord"></param>
        /// <returns></returns>
        public List <GX_DICT_CONFIG> FindAllGxDictConfig(string name, decimal parentId, int pageIndex, int pageSize, out int totalRecord)
        {
            GxDictConfigRepository dictConfigRepository = new GxDictConfigRepository(unitOfWork);

            return(dictConfigRepository.FindAllGxDictConfig(name, parentId, pageIndex, pageSize, out totalRecord));
        }