using System.Collections.Generic; using XGame.Framework; namespace XGame.Database { public partial class epigraphUpTableRepo { public static epigraphUpTable GetEpiragphUp(int id, int starLv) { int tableId = id * 1000 + starLv; return Get(tableId); } public static List GetEpigraphUpListById(int id) { var arr = GetAll(); var list = new List(); foreach (var item in arr) { if (item.PetId == id) { list.Add(item); } } return list; } } }