using Lottomat.Application.Entity.LotteryNumberManage; using Lottomat.Application.IService.LotteryNumberManage; using Lottomat.Application.Service.LotteryNumberManage; using Lottomat.Util.WebControl; using System.Collections.Generic; using System; namespace Lottomat.Application.Busines.LotteryNumberManage { /// /// 版 本 1.0 /// Copyright (c) 2016-2017 /// 创 建:超级管理员 /// 日 期:2017-11-17 12:51 /// 描 述:全国彩-福彩3D /// public class QGFC3DBLL { private IQGFC3DService service = new QGFC3DService(); #region 获取数据 /// /// 获取列表 /// /// 分页 /// 查询参数 /// 返回分页列表 public IEnumerable GetPageList(Pagination pagination, string queryJson) { return service.GetPageList(pagination, queryJson); } /// /// 获取列表 /// /// 查询参数 /// 返回列表 public IEnumerable GetList(string queryJson) { return service.GetList(queryJson); } /// /// 获取实体 /// /// 主键值 /// public QGFC3DEntity GetEntity(string keyValue) { return service.GetEntity(keyValue); } /// /// 最新一期期数 /// /// public string GetNewTerm(string type) { return service.GetNewTerm(type); } /// /// 根据表名称获取最新一期期数 /// /// public string GetNewTermByTableName(string tablename) { return service.GetNewTermByTableName(tablename); } #endregion #region 提交数据 /// /// 删除数据 /// /// 主键 public void RemoveForm(string keyValue) { try { service.RemoveForm(keyValue); } catch (Exception) { throw; } } /// /// 保存表单(新增、修改) /// /// 主键值 /// 实体对象 /// public void SaveForm(string keyValue, QGFC3DEntity entity,string isCheck) { try { service.SaveForm(keyValue, entity, isCheck); } catch (Exception) { throw; } } #endregion } }