public static string GetFilterUsr(int pageIndex, string verif, string order, int uid) { IndexDetailModel detailModel = new IndexDetailModel(); List <string> accIdStr = SynthesisIFilterLogBLL.GetAccountList(uid, verif).Split(',').ToList(); accIdStr.RemoveAt(0); string[] accIdStrTemp = accIdStr.ToArray(); int[] accId = Array.ConvertAll <string, int>(accIdStrTemp, delegate(string s) { return(int.Parse(s)); }); detailModel.listData = DashBoardAnalyzeBLL.GetGeneralList(accId, order, pageIndex); detailModel.rowCount = accId.Length; //int.Parse(dic["rowCount"]); detailModel.maxPage = accId.Length % 15 == 0 ? accId.Length / 15 : (accId.Length / 15 + 1); //int.Parse(dic["maxPage"]); return(CommonLib.Helper.JsonSerializeObject(detailModel, "yyyy-MM-dd HH:mm:ss")); }
/// <summary> /// 得到统计中的 会员 /// </summary> /// <param name="uid"></param> /// <param name="verif"></param> /// <returns></returns> public static string GetAccountList(int uid, string verif) { return(SynthesisIFilterLogBLL.GetAccountList(uid, verif)); }