public DataSet GetNewsList(string strLMH, int intListNumber, string strXXZT = null, string strIsBest = null, string strXXLX = null) { appData = new T_BG_0601ApplicationData(); appData.CurrentPage = 1; appData.PageSize = intListNumber; appData.SortField = "IsTop DESC, TopSort ASC, FBSJRQ"; appData.Sort = false; if (strIsBest != null) { appData.IsBest = strIsBest; } appData.FBLMBatch = GetSubColumn(strLMH); if (strXXLX != null) { appData.XXLX = strXXLX; } if (strXXZT != null) { appData.XXZT = strXXZT; } T_BG_0601ApplicationLogic instanceT_BG_0601ApplicationLogic = (T_BG_0601ApplicationLogic)CreateApplicationLogicInstance(typeof(T_BG_0601ApplicationLogic)); appData = instanceT_BG_0601ApplicationLogic.Query(appData); return(appData.ResultSet); }
public DataSet GetXXNR(string guidObjectID) { appData = new T_BG_0601ApplicationData(); appData.PageSize = 1; appData.ObjectID = guidObjectID; appData.OPCode = RICH.Common.Base.ApplicationData.ApplicationDataBase.OPType.ID; T_BG_0601ApplicationLogic instanceT_BG_0601ApplicationLogic = (T_BG_0601ApplicationLogic)CreateApplicationLogicInstance(typeof(T_BG_0601ApplicationLogic)); appData = instanceT_BG_0601ApplicationLogic.Query(appData); return(appData.ResultSet); }