Example #1
0
        /// <summary>
        /// 获取T_FB_COMPANYBUDGETMODDETAIL信息
        /// </summary>
        /// <param name="strCompanyBudgetModDetailId">主键索引</param>
        /// <returns></returns>
        public T_FB_COMPANYBUDGETMODDETAIL GetCompanyBudgetModDetailByID(string strCompanyBudgetModDetailId)
        {
            if (string.IsNullOrEmpty(strCompanyBudgetModDetailId))
            {
                return null;
            }

            CompanyBudgetModDetailDAL dalCompanyBudgetModDetail = new CompanyBudgetModDetailDAL();
            StringBuilder strFilter = new StringBuilder();
            List<string> objArgs = new List<string>();
            
            if (!string.IsNullOrEmpty(strCompanyBudgetModDetailId))
            {
                strFilter.Append(" COMPANYBUDGETMODDETAILID == @0");
                objArgs.Add(strCompanyBudgetModDetailId);
            }

            T_FB_COMPANYBUDGETMODDETAIL entRd = dalCompanyBudgetModDetail.GetCompanyBudgetModDetailRdByMultSearch(strFilter.ToString(), objArgs.ToArray());
            return entRd;
        }
Example #2
0
        /// <summary>
        /// 获取T_FB_COMPANYBUDGETMODDETAIL信息
        /// </summary>
        /// <param name="strCompanyBudgetModDetailId">主键索引</param>
        /// <returns></returns>
        public T_FB_COMPANYBUDGETMODDETAIL GetCompanyBudgetModDetailByID(string strCompanyBudgetModDetailId)
        {
            if (string.IsNullOrEmpty(strCompanyBudgetModDetailId))
            {
                return(null);
            }

            CompanyBudgetModDetailDAL dalCompanyBudgetModDetail = new CompanyBudgetModDetailDAL();
            StringBuilder             strFilter = new StringBuilder();
            List <string>             objArgs   = new List <string>();

            if (!string.IsNullOrEmpty(strCompanyBudgetModDetailId))
            {
                strFilter.Append(" COMPANYBUDGETMODDETAILID == @0");
                objArgs.Add(strCompanyBudgetModDetailId);
            }

            T_FB_COMPANYBUDGETMODDETAIL entRd = dalCompanyBudgetModDetail.GetCompanyBudgetModDetailRdByMultSearch(strFilter.ToString(), objArgs.ToArray());

            return(entRd);
        }