예제 #1
0
 /// <summary>
 /// 提供给外部调用的获取规则的方法
 /// </summary>
 /// <param name="ConItemID"></param>
 /// <returns></returns>
 public List <T_RuleAllInfo> GetRuleListByPage(int ConItemID)
 {
     RuleAll.T_RuleAllInfo     rullModel = new RuleAll.T_RuleAllInfo();
     BILBasic.Common.DividPage page      = null;
     if (ConItemID > 0)
     {
         rullModel.ConItemID = ConItemID;
     }
     return(GetModelListByPage(null, rullModel, ref page, ""));
 }
예제 #2
0
        public List <T_PickRuleInfo> GetPearRuleListByPage(int type)
        {
            T_PickRuleInfo model = new T_PickRuleInfo();

            model.RuleType = type;
            //if (type == 0)
            //{
            //    model.RuleType = type;
            //}
            BILBasic.Common.DividPage page = null;

            return(GetModelListByPage(null, model, ref page));
        }