/// <summary> /// 根据条件,获取T_FB_DEPTBUDGETAPPLYMASTER信息 /// </summary> /// <param name="strVacName"></param> /// <param name="strVacYear"></param> /// <param name="strCountyType"></param> /// <param name="strSortKey"></param> /// <returns></returns> public static IQueryable<T_FB_DEPTBUDGETAPPLYMASTER> GetAllDeptBudgetApplyMasterRdListByMultSearch(string strFilter, List<object> objArgs, string strSortKey) { DeptBudgetApplyMasterDAL dalDeptBudgetApplyMaster = new DeptBudgetApplyMasterDAL(); string strOrderBy = string.Empty; if (!string.IsNullOrEmpty(strSortKey)) { strOrderBy = strSortKey; } else { strOrderBy = " DEPTBUDGETAPPLYMASTERID "; } var q = dalDeptBudgetApplyMaster.GetDeptBudgetApplyMasterRdListByMultSearch(strOrderBy, strFilter, objArgs.ToArray()); return q; }
/// <summary> /// 根据条件,获取T_FB_DEPTBUDGETAPPLYMASTER信息 /// </summary> /// <param name="strVacName"></param> /// <param name="strVacYear"></param> /// <param name="strCountyType"></param> /// <param name="strSortKey"></param> /// <returns></returns> public static IQueryable <T_FB_DEPTBUDGETAPPLYMASTER> GetAllDeptBudgetApplyMasterRdListByMultSearch(string strFilter, List <object> objArgs, string strSortKey) { DeptBudgetApplyMasterDAL dalDeptBudgetApplyMaster = new DeptBudgetApplyMasterDAL(); string strOrderBy = string.Empty; if (!string.IsNullOrEmpty(strSortKey)) { strOrderBy = strSortKey; } else { strOrderBy = " DEPTBUDGETAPPLYMASTERID "; } var q = dalDeptBudgetApplyMaster.GetDeptBudgetApplyMasterRdListByMultSearch(strOrderBy, strFilter, objArgs.ToArray()); return(q); }
/// <summary> /// 获取T_FB_DEPTBUDGETAPPLYMASTER信息 /// </summary> /// <param name="strDeptBudgetApplyMasterId">主键索引</param> /// <returns></returns> public T_FB_DEPTBUDGETAPPLYMASTER GetDeptBudgetApplyMasterByID(string strDeptBudgetApplyMasterId) { if (string.IsNullOrEmpty(strDeptBudgetApplyMasterId)) { return null; } DeptBudgetApplyMasterDAL dalDeptBudgetApplyMaster = new DeptBudgetApplyMasterDAL(); StringBuilder strFilter = new StringBuilder(); List<string> objArgs = new List<string>(); if (!string.IsNullOrEmpty(strDeptBudgetApplyMasterId)) { strFilter.Append(" DEPTBUDGETAPPLYMASTERID == @0"); objArgs.Add(strDeptBudgetApplyMasterId); } T_FB_DEPTBUDGETAPPLYMASTER entRd = dalDeptBudgetApplyMaster.GetDeptBudgetApplyMasterRdByMultSearch(strFilter.ToString(), objArgs.ToArray()); return entRd; }
/// <summary> /// 获取T_FB_DEPTBUDGETAPPLYMASTER信息 /// </summary> /// <param name="strDeptBudgetApplyMasterId">主键索引</param> /// <returns></returns> public T_FB_DEPTBUDGETAPPLYMASTER GetDeptBudgetApplyMasterByID(string strDeptBudgetApplyMasterId) { if (string.IsNullOrEmpty(strDeptBudgetApplyMasterId)) { return(null); } DeptBudgetApplyMasterDAL dalDeptBudgetApplyMaster = new DeptBudgetApplyMasterDAL(); StringBuilder strFilter = new StringBuilder(); List <string> objArgs = new List <string>(); if (!string.IsNullOrEmpty(strDeptBudgetApplyMasterId)) { strFilter.Append(" DEPTBUDGETAPPLYMASTERID == @0"); objArgs.Add(strDeptBudgetApplyMasterId); } T_FB_DEPTBUDGETAPPLYMASTER entRd = dalDeptBudgetApplyMaster.GetDeptBudgetApplyMasterRdByMultSearch(strFilter.ToString(), objArgs.ToArray()); return(entRd); }
/// <summary> /// 查询部门预算单。 /// </summary> /// <param name="conditions">查询条件对象集。</param> /// <returns>返回部门预算金额。</returns> public static IQueryable<V_Money> GetDeptBudgetApply(ExecutionConditions conditions) { DeptBudgetApplyMasterDAL dalDeptBudgetApplyMaster = new DeptBudgetApplyMasterDAL(); return dalDeptBudgetApplyMaster.GetDeptBudgetApply(conditions); }
/// <summary> /// 查询部门预算单。 /// </summary> /// <param name="conditions">查询条件对象集。</param> /// <returns>返回部门预算金额。</returns> public static IQueryable <V_Money> GetDeptBudgetApply(ExecutionConditions conditions) { DeptBudgetApplyMasterDAL dalDeptBudgetApplyMaster = new DeptBudgetApplyMasterDAL(); return(dalDeptBudgetApplyMaster.GetDeptBudgetApply(conditions)); }