using Lottomat.Application.Entity.SystemManage; using Lottomat.Application.Entity.SystemManage.ViewModel; using System.Collections.Generic; namespace Lottomat.Application.IService.SystemManage { /// /// 版 本 1.0 /// Copyright (c) 2016-2017 /// 创建人:赵轶 /// 日 期:2015.11.17 9:56 /// 描 述:数据字典明细 /// public interface IDataItemDetailService { #region 获取数据 /// /// 明细列表 /// /// 分类Id /// IEnumerable GetList(string itemId); /// /// 明细实体 /// /// 主键值 /// DataItemDetailEntity GetEntity(string keyValue); /// /// 获取数据字典列表(给绑定下拉框提供的) /// /// IEnumerable GetDataItemList(); /// /// 根据字典详细信息ID获取字典实体 /// /// /// DataItemDetailEntity GetEntityById(string id); /// /// 根据字典详细信息ID获取字典实体 /// /// /// IEnumerable GetDataItemListById(string id); #endregion #region 验证数据 /// /// 项目值不能重复 /// /// 项目值 /// 主键 /// 分类Id /// bool ExistItemValue(string itemValue, string keyValue, string itemId); /// /// 项目名不能重复 /// /// 项目名 /// 主键 /// 分类Id /// bool ExistItemName(string itemName, string keyValue, string itemId); #endregion #region 提交数据 /// /// 删除明细 /// /// 主键 void RemoveForm(string keyValue); /// /// 保存明细表单(新增、修改) /// /// 主键值 /// 明细实体 /// void SaveForm(string keyValue, DataItemDetailEntity dataItemDetailEntity); #endregion } }