IKL10FHuNanService.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using CB.Entity;
  4. using CB.Entity.Frequency;
  5. namespace CB.Interface.Infrastructure.Frequency
  6. {
  7. //GP_KL10F_HuNan
  8. public interface IKL10FHuNanService:IRepository<KL10FInfo_HuNan>
  9. {
  10. /// <summary>
  11. /// 最新开奖号码--限数据抓取使用
  12. /// </summary>
  13. /// <returns></returns>
  14. LotteryOpenCode GetLatestOpenCodeForCatch();
  15. /// <summary>
  16. /// 倒序取TOP多少条数据
  17. /// </summary>
  18. /// <param name="fields">彩种开奖数据额外查询条件</param>
  19. /// <returns></returns>
  20. IList<KL10FInfo_HuNan> GetTopListDesc(LotterySearchField fields);
  21. /// <summary>
  22. /// 获取小于等于term的最近两期开奖号数据
  23. /// </summary>
  24. /// <param name="term">期数</param>
  25. /// <param name="fields">彩种开奖数据额外查询条件</param>
  26. /// <returns></returns>
  27. IList<KL10FInfo_HuNan> ToListForTrend(long term, LotterySearchField fields);
  28. /// <summary>
  29. /// 获取term期以及后面数据
  30. /// </summary>
  31. /// <param name="term">期数</param>
  32. /// <param name="fields">彩种开奖数据额外查询条件</param>
  33. /// <returns></returns>
  34. IList<KL10FInfo_HuNan> GetListToEnd(long term, LotterySearchField fields);
  35. IList<KL10FInfo_HuNan> ToListByYear(DateTime SearchTime);
  36. IList<KL10FInfo_HuNan> GetListByDate(DateTime queryDate);
  37. }
  38. }