ITrendChartService.cs 918 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using CB.Entity;
  3. using System.Collections.Generic;
  4. using System.Data;
  5. namespace CB.Interface.Infrastructure
  6. {
  7. public interface ITrendChartService : IRepository<TrendChartInfo>
  8. {
  9. /// <summary>
  10. /// 根据部分走势图信息获取完整实体类
  11. /// </summary>
  12. /// <param name="entity"></param>
  13. /// <returns></returns>
  14. TrendChartInfo Get(TrendChartInfo entity);
  15. /// <summary>
  16. /// 更新走势图表智能推荐关联
  17. /// </summary>
  18. /// <param name="startId"></param>
  19. /// <param name="endId"></param>
  20. void UpdateTrendSmart(int startId, int endId);
  21. /// <summary>
  22. /// 获取关联的走势图表信息
  23. /// </summary>
  24. /// <param name="chartId"></param>
  25. /// <returns></returns>
  26. IList<TrendChartInfo> GetTrendSmartList(int chartId, int topSize);
  27. }
  28. }