LotteryNumInterface.cs 719 B

123456789101112131415161718192021
  1. using Models;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace Interface
  8. {
  9. public interface LotteryNumInterface:BaseInterface
  10. {
  11. T GetLastItem<T>(SCCLottery lottery);
  12. List<T> GetLastItems<T>(SCCLottery lottery, int days, bool kjhOrsjh = false);
  13. KaijiangDetailsEntity GetKJItem(string type, string id);
  14. List<T> GetTopNumList<T>(SCCLottery lottery, string order, int num = 1, Boolean isdesc = true, bool kjhOrsjh = false);
  15. List<T> GetList<T>(string tablename, List<EExpression> expression, string order, bool isDesc = true, bool kjhOrsjh = false);
  16. List<T> ToList<T>();
  17. }
  18. }