/// <summary> /// 根据条件,获取T_FB_TRAVELEXPAPPLYMASTER信息 /// </summary> /// <param name="strVacName"></param> /// <param name="strVacYear"></param> /// <param name="strCountyType"></param> /// <param name="strSortKey"></param> /// <returns></returns> public static IQueryable<T_FB_TRAVELEXPAPPLYMASTER> GetAllTravelexpApplyMasterRdListByMultSearch(string strFilter, List<object> objArgs, string strSortKey) { TravelexpApplyMasterDAL dalTravelexpApplyMaster = new TravelexpApplyMasterDAL(); string strOrderBy = string.Empty; if (!string.IsNullOrEmpty(strSortKey)) { strOrderBy = strSortKey; } else { strOrderBy = " TRAVELEXPAPPLYMASTERID "; } var q = dalTravelexpApplyMaster.GetTravelexpApplyMasterRdListByMultSearch(strOrderBy, strFilter, objArgs.ToArray()); return q; }
/// <summary> /// 根据条件,获取T_FB_TRAVELEXPAPPLYMASTER信息 /// </summary> /// <param name="strVacName"></param> /// <param name="strVacYear"></param> /// <param name="strCountyType"></param> /// <param name="strSortKey"></param> /// <returns></returns> public static IQueryable <T_FB_TRAVELEXPAPPLYMASTER> GetAllTravelexpApplyMasterRdListByMultSearch(string strFilter, List <object> objArgs, string strSortKey) { TravelexpApplyMasterDAL dalTravelexpApplyMaster = new TravelexpApplyMasterDAL(); string strOrderBy = string.Empty; if (!string.IsNullOrEmpty(strSortKey)) { strOrderBy = strSortKey; } else { strOrderBy = " TRAVELEXPAPPLYMASTERID "; } var q = dalTravelexpApplyMaster.GetTravelexpApplyMasterRdListByMultSearch(strOrderBy, strFilter, objArgs.ToArray()); return(q); }
/// <summary> /// 获取T_FB_TRAVELEXPAPPLYMASTER信息 /// </summary> /// <param name="strTravelexpApplyMasterId">主键索引</param> /// <returns></returns> public T_FB_TRAVELEXPAPPLYMASTER GetTravelexpApplyMasterByID(string strTravelexpApplyMasterId) { if (string.IsNullOrEmpty(strTravelexpApplyMasterId)) { return null; } TravelexpApplyMasterDAL dalTravelexpApplyMaster = new TravelexpApplyMasterDAL(); StringBuilder strFilter = new StringBuilder(); List<string> objArgs = new List<string>(); if (!string.IsNullOrEmpty(strTravelexpApplyMasterId)) { strFilter.Append(" TRAVELEXPAPPLYMASTERID == @0"); objArgs.Add(strTravelexpApplyMasterId); } T_FB_TRAVELEXPAPPLYMASTER entRd = dalTravelexpApplyMaster.GetTravelexpApplyMasterRdByMultSearch(strFilter.ToString(), objArgs.ToArray()); return entRd; }
/// <summary> /// 获取T_FB_TRAVELEXPAPPLYMASTER信息 /// </summary> /// <param name="strTravelexpApplyMasterId">主键索引</param> /// <returns></returns> public T_FB_TRAVELEXPAPPLYMASTER GetTravelexpApplyMasterByID(string strTravelexpApplyMasterId) { if (string.IsNullOrEmpty(strTravelexpApplyMasterId)) { return(null); } TravelexpApplyMasterDAL dalTravelexpApplyMaster = new TravelexpApplyMasterDAL(); StringBuilder strFilter = new StringBuilder(); List <string> objArgs = new List <string>(); if (!string.IsNullOrEmpty(strTravelexpApplyMasterId)) { strFilter.Append(" TRAVELEXPAPPLYMASTERID == @0"); objArgs.Add(strTravelexpApplyMasterId); } T_FB_TRAVELEXPAPPLYMASTER entRd = dalTravelexpApplyMaster.GetTravelexpApplyMasterRdByMultSearch(strFilter.ToString(), objArgs.ToArray()); return(entRd); }
/// <summary> /// 查询审批中的差旅报销。 /// </summary> /// <param name="conditions">查询条件对象集。</param> /// <returns>返回审批中的差旅报销。</returns> public static IQueryable<V_Money> GetTravelexpApply(ExecutionConditions conditions) { TravelexpApplyMasterDAL dalTravelexpApplyMaster = new TravelexpApplyMasterDAL(); return dalTravelexpApplyMaster.GetTravelexpApply(conditions); }
/// <summary> /// 查询审批中的差旅报销。 /// </summary> /// <param name="conditions">查询条件对象集。</param> /// <returns>返回审批中的差旅报销。</returns> public static IQueryable <V_Money> GetTravelexpApply(ExecutionConditions conditions) { TravelexpApplyMasterDAL dalTravelexpApplyMaster = new TravelexpApplyMasterDAL(); return(dalTravelexpApplyMaster.GetTravelexpApply(conditions)); }