123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using System.Collections.Generic;
- using CB.Entity;
- using CB.Entity.Frequency;
- namespace CB.Interface.Infrastructure.Frequency
- {
- //GP_KL10F_HuNan
- public interface IKL10FHuNanService:IRepository<KL10FInfo_HuNan>
- {
- /// <summary>
- /// 最新开奖号码--限数据抓取使用
- /// </summary>
- /// <returns></returns>
- LotteryOpenCode GetLatestOpenCodeForCatch();
- /// <summary>
- /// 倒序取TOP多少条数据
- /// </summary>
- /// <param name="fields">彩种开奖数据额外查询条件</param>
- /// <returns></returns>
- IList<KL10FInfo_HuNan> GetTopListDesc(LotterySearchField fields);
- /// <summary>
- /// 获取小于等于term的最近两期开奖号数据
- /// </summary>
- /// <param name="term">期数</param>
- /// <param name="fields">彩种开奖数据额外查询条件</param>
- /// <returns></returns>
- IList<KL10FInfo_HuNan> ToListForTrend(long term, LotterySearchField fields);
- /// <summary>
- /// 获取term期以及后面数据
- /// </summary>
- /// <param name="term">期数</param>
- /// <param name="fields">彩种开奖数据额外查询条件</param>
- /// <returns></returns>
- IList<KL10FInfo_HuNan> GetListToEnd(long term, LotterySearchField fields);
- IList<KL10FInfo_HuNan> ToListByYear(DateTime SearchTime);
- IList<KL10FInfo_HuNan> GetListByDate(DateTime queryDate);
- }
- }
|