using System; using System.Collections.Generic; using System.Linq; using System.Text; using CB.Entity; using CB.Interface.Infrastructure; namespace CB.Data { public class FCDF6J1TrendChartDataService { public static bool Save(TrendChartData entity) { return DatabaseProvider.GetDbProvider().Save(entity); } public static bool Update(TrendChartData entity) { throw new NotImplementedException(); } public static bool Delete(BaseEntity entity) { throw new NotImplementedException(); } public static TrendChartData Get(TKey key) { throw new NotImplementedException(); } public static IList ToList() { throw new NotImplementedException(); } public static IList ToList(TrendChartData entity) { throw new NotImplementedException(); } public static IList ToPaging(TrendChartData entity, int pageSize, int pageIndex, out int recordCount) { throw new NotImplementedException(); } /// /// 前台读取走势图 /// /// 查询条件 /// public static IList ToList(TrendChartSearchField entity) { return DatabaseProvider.GetDbProvider().ToList(entity); } /// /// 根据期数获取对应期数的走势遗漏信息 /// /// 走势图ID /// 期数 /// 走势图类型 /// public static TrendChartData GetTrendChartDataByTerm(int chartId, TrendChartType chartType, long term) { return DatabaseProvider.GetDbProvider().GetTrendChartDataByTerm(chartId, chartType, term); } } }