using LeaRun.Application.Entity.BaseManage; using LeaRun.Util.WebControl; using System.Collections.Generic; namespace LeaRun.Application.IService.BaseManage { /// /// 版 本 /// Copyright (c) 2013-2016 上海力软信息技术有限公司 /// 创建人:佘赐雄 /// 日 期:2015.11.4 14:31 /// 描 述:职位管理 /// public interface IJobService { #region 获取数据 /// /// 职位列表 /// /// IEnumerable GetList(); /// /// 职位列表 /// /// 分页 /// 查询参数 /// IEnumerable GetPageList(Pagination pagination, string queryJson); /// /// 职位实体 /// /// 主键值 /// RoleEntity GetEntity(string keyValue); #endregion #region 验证数据 /// /// 职位编号不能重复 /// /// 编号 /// 主键 /// bool ExistEnCode(string enCode, string keyValue); /// /// 职位名称不能重复 /// /// 名称 /// 主键 /// bool ExistFullName(string fullName, string keyValue); #endregion #region 提交数据 /// /// 删除职位 /// /// 主键 void RemoveForm(string keyValue); /// /// 保存职位表单(新增、修改) /// /// 主键值 /// 职位实体 /// void SaveForm(string keyValue, RoleEntity jobEntity); #endregion } }