/// <summary> /// 获取应用信息 /// </summary> /// <param name="StartIndex"></param> /// <param name="EndIndex"></param> /// <param name="entity"></param> /// <returns></returns> public List <AppInfoEntity> GetDataList(AppInfoEntity entity, ref int totalCount, int SchemeID = 0) { string channel = ""; if (SchemeID == 104) { channel = ",70,"; } else if (SchemeID == 101) { channel = ",20,"; } string status = "1,2"; if (SchemeID == 0) { status = "1,2,3,4,5,6,7"; } totalCount = new AppInfoDAL().GetTotalCountNew(entity, status, channel); return(new AppInfoDAL().GetDataListNew(entity, status, channel)); }
/// <summary> /// 获取应用信息 /// </summary> /// <param name="StartIndex"></param> /// <param name="EndIndex"></param> /// <param name="entity"></param> /// <returns></returns> public List <AppInfoEntity> GetDataListNew(AppInfoEntity entity, string status, string channel, ref int totalCount) { totalCount = new AppInfoDAL().GetTotalCountNew(entity, status, channel); return(new AppInfoDAL().GetDataListNew(entity, status, channel)); }
/// <summary> /// 从统计数据库中获取联运游戏列表 /// </summary> /// <param name="entity"></param> /// <returns></returns> public List <AppInfoEntity> GetUAppInfoList(AppInfoEntity entity, ref int totalCount) { totalCount = new AppInfoDAL().GetUAppInfoCount(entity); return(new AppInfoDAL().GetUAppInfoList(entity)); }