IDictionaryServices.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Linq.Expressions;
  6. using Bowin.Common.Linq.Entity;
  7. using EMIS.ViewModel.SystemSetting;
  8. using EMIS.ViewModel;
  9. namespace EMIS.CommonLogic.SystemSetting
  10. {
  11. public interface IDictionaryServices
  12. {
  13. /// <summary>
  14. /// 查询对应的字典类型信息View
  15. /// </summary>
  16. /// <param name="configuretView"></param>
  17. /// <param name="isEditable"></param>
  18. /// <param name="pageIndex"></param>
  19. /// <param name="pageSize"></param>
  20. /// <returns></returns>
  21. IGridResultSet<DictionaryView> GetDictionaryViewGird(ConfiguretView configuretView, int? isEditable, int pageIndex, int pageSize);
  22. /// <summary>
  23. /// 查询对应的字典类型信息List
  24. /// </summary>
  25. /// <param name="configuretView"></param>
  26. /// <param name="isEditable"></param>
  27. /// <returns></returns>
  28. IList<DictionaryView> GetDictionaryViewList(ConfiguretView configuretView, int? isEditable);
  29. /// <summary>
  30. /// 根据字典类型Code查询对应的字典类型信息DictionaryView
  31. /// </summary>
  32. /// <param name="DictionaryCode"></param>
  33. /// <returns></returns>
  34. DictionaryView GetDictionaryView(string DictionaryCode);
  35. /// <summary>
  36. /// 编辑(修改)
  37. /// </summary>
  38. /// <param name="dictionaryView"></param>
  39. void DictionaryEdit(DictionaryView dictionaryView);
  40. /// <summary>
  41. /// 删除
  42. /// </summary>
  43. /// <param name="dictionaryCodeList"></param>
  44. /// <returns></returns>
  45. bool DictionaryDelete(IList<string> dictionaryCodeList);
  46. }
  47. }