12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using Bowin.Common.Linq.Entity;
- using EMIS.ViewModel.SystemView;
- using EMIS.ViewModel;
- namespace EMIS.CommonLogic.SystemSetting
- {
- public interface IDictionaryItemServices
- {
- /// <summary>
- /// 查询对应的数据字典信息View
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="dictionaryCode"></param>
- /// <param name="isEditable"></param>
- /// <param name="isVisible"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DictionaryItemView> GetDictionaryItemViewGird(ConfiguretView configuretView,
- string dictionaryCode, int? isEditable, int? isVisible, int pageIndex, int pageSize);
- /// <summary>
- /// 查询对应的数据字典信息List
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="dictionaryCode"></param>
- /// <param name="isEditable"></param>
- /// <param name="isVisible"></param>
- /// <returns></returns>
- IList<DictionaryItemView> GetDictionaryItemViewList(ConfiguretView configuretView,
- string dictionaryCode, int? isEditable, int? isVisible);
- /// <summary>
- /// 根据数据字典元素ID查询对应的数据字典信息DictionaryItemView
- /// </summary>
- /// <param name="DictionaryItemID"></param>
- /// <returns></returns>
- DictionaryItemView GetDictionaryItemView(Guid? DictionaryItemID);
- /// <summary>
- /// 编辑(新增、修改)
- /// </summary>
- /// <param name="dictionaryItemView"></param>
- void DictionaryItemEdit(DictionaryItemView dictionaryItemView);
- /// <summary>
- /// 删除(只可删除可编辑的信息)
- /// </summary>
- /// <param name="dictionaryItemIDList"></param>
- /// <returns></returns>
- bool DictionaryItemDelete(IList<Guid?> dictionaryItemIDList);
- /// <summary>
- /// 数据字典下拉列表
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="dictionaryCode"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <returns></returns>
- IGridResultSet<DictionaryItemView> GetDictionaryViewComboGrid(ConfiguretView configuretView,
- string dictionaryCode, int pageIndex, int pageSize);
- /// <summary>
- /// 数据字典下拉列表(市)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <param name="proviceCode"></param>
- /// <returns></returns>
- IGridResultSet<DictionaryItemView> GetCityComboGrid(ConfiguretView configuretView,
- int pageIndex, int pageSize, string proviceCode = null);
- /// <summary>
- /// 数据字典下拉列表(县、区)
- /// </summary>
- /// <param name="configuretView"></param>
- /// <param name="pageIndex"></param>
- /// <param name="pageSize"></param>
- /// <param name="cityCode"></param>
- /// <returns></returns>
- IGridResultSet<DictionaryItemView> GetDistrictComboGrid(ConfiguretView configuretView,
- int pageIndex, int pageSize, string cityCode = null);
- }
- }
|