public string GetRecentDaysGuildTotalDamages(long group) { Dictionary <long, long> dayDamages = new Dictionary <long, long>(SQLiteManager.GetInstance().GetRecentDaysGuildTotalDamages(group, 10)); string output = "本公会近期对BOSS造成的伤害:"; if (dayDamages.Count == 0) { output += "\n无记录"; return(output); } long allDamage = 0; foreach (KeyValuePair <long, long> kvp in dayDamages) { output += "\n" + "[" + SQLiteManager.DayToDate(kvp.Key) + "]\t" + kvp.Value.ToString(); allDamage += kvp.Value; } output += "\n" + "[近期总伤害]\t" + allDamage.ToString(); return(output); }