IDictionaryService.cs 1.2 KB

123456789101112131415161718192021222324252627
  1. using Bowin.Common.Linq.Entity;
  2. using YLShipBuildLandMap.Entity;
  3. using YLShipBuildLandMap.Entity.ViewModel.SystemSetting;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Text;
  7. using System.Threading.Tasks;
  8. namespace YLShipBuildLandMap.Services.SystemSetting
  9. {
  10. public interface IDictionaryService
  11. {
  12. Task<IGridResultSet<DictionaryItemView>> GetDictionaryItemList(int? pageIndex, int? pageSize, string dictionaryName, string dictionaryCode, string name);
  13. Task<IEnumerable<SysDictionaryItem>> GetDictionaryItemsbyCache(string dictionaryCode);
  14. Task<IEnumerable<SysDictionaryItem>> GetTugboatTitleDictionary(string dictionaryCode);
  15. Task<IEnumerable<SysDictionaryItem>> GetDepartmentTitleDictionary(string dictionaryCode);
  16. List<int?> GetEmployeeStatus();
  17. string GetDictionaryName(IEnumerable<SysDictionaryItem> dics, int? value);
  18. Task<IGridResultSet<SysDictionary>> GetDictionaryList(int? pageIndex, int? pageSize, string dictionaryName, string dictionaryCode);
  19. SysDictionaryItem GetDicItem(Guid? dicItemID);
  20. Task Save(SysDictionaryItem dicItem, Guid userID);
  21. Task Delete(List<Guid> dicItemIDList);
  22. }
  23. }