12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- 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
- {
- /// <summary>
- /// 版 本 1.0
- /// Copyright (c) 2016-2017
- /// 创 建:超级管理员
- /// 日 期:2017-11-24 11:24
- /// 描 述:地方彩-辽宁35选7
- /// </summary>
- public class DF35x7LiaoNingBLL
- {
- private IDF35x7LiaoNingService service = new DF35x7LiaoNingService();
- #region 获取数据
- /// <summary>
- /// 获取列表
- /// </summary>
- /// <param name="pagination">分页</param>
- /// <param name="queryJson">查询参数</param>
- /// <returns>返回分页列表</returns>
- public IEnumerable<DF35x7LiaoNingEntity> GetPageList(Pagination pagination, string queryJson)
- {
- return service.GetPageList(pagination, queryJson);
- }
- /// <summary>
- /// 获取列表
- /// </summary>
- /// <param name="queryJson">查询参数</param>
- /// <returns>返回列表</returns>
- public IEnumerable<DF35x7LiaoNingEntity> GetList(string queryJson)
- {
- return service.GetList(queryJson);
- }
- /// <summary>
- /// 获取实体
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <returns></returns>
- public DF35x7LiaoNingEntity GetEntity(string keyValue)
- {
- return service.GetEntity(keyValue);
- }
- #endregion
- #region 提交数据
- /// <summary>
- /// 删除数据
- /// </summary>
- /// <param name="keyValue">主键</param>
- public void RemoveForm(string keyValue)
- {
- try
- {
- service.RemoveForm(keyValue);
- }
- catch (Exception)
- {
- throw;
- }
- }
- /// <summary>
- /// 保存表单(新增、修改)
- /// </summary>
- /// <param name="keyValue">主键值</param>
- /// <param name="entity">实体对象</param>
- /// <returns></returns>
- public void SaveForm(string keyValue, DF35x7LiaoNingEntity entity,string isCheck)
- {
- try
- {
- service.SaveForm(keyValue, entity, isCheck);
- }
- catch (Exception)
- {
- throw;
- }
- }
- #endregion
- }
- }
|