using LeaRun.Application.Entity.PublicInfoManage; using LeaRun.Application.IService.PublicInfoManage; using LeaRun.Application.Service.PublicInfoManage; using LeaRun.Util.WebControl; using System.Collections.Generic; using System; namespace LeaRun.Application.Busines.PublicInfoManage { /// /// 版 本 6.1 /// Copyright (c) 2013-2016 上海力软信息技术有限公司 /// 创 建:佘赐雄 /// 日 期:2016-04-25 10:45 /// 描 述:日程管理 /// public class ScheduleBLL { private IScheduleService service = new ScheduleService(); #region 获取数据 /// /// 获取列表 /// /// 查询参数 /// 返回列表 public IEnumerable GetList(string queryJson) { return service.GetList(queryJson); } /// /// 获取实体 /// /// 主键值 /// public ScheduleEntity GetEntity(string keyValue) { return service.GetEntity(keyValue); } #endregion #region 提交数据 /// /// 删除数据 /// /// 主键 public void RemoveForm(string keyValue) { try { service.RemoveForm(keyValue); } catch (Exception) { throw; } } /// /// 保存表单(新增、修改) /// /// 主键值 /// 实体对象 /// public void SaveForm(string keyValue, ScheduleEntity entity) { try { service.SaveForm(keyValue, entity); } catch (Exception) { throw; } } #endregion } }