IAreaBLL.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using YiSha.Entity.SystemManage;
  6. using YiSha.Model.Param.SystemManage;
  7. using YiSha.Model.Result;
  8. using YiSha.Util.Extension;
  9. using YiSha.Util.Model;
  10. namespace YiSha.IBusiness.SystemManage
  11. {
  12. public partial interface IAreaBLL
  13. {
  14. #region 获取数据
  15. Task<TData<List<AreaEntity>>> GetListPartial(AreaListParam param);
  16. Task<TData<List<AreaEntity>>> GetPageListPartial(AreaListParam param, Pagination pagination);
  17. Task<TData<List<ZtreeInfo>>> GetZtreeAreaListPartial(AreaListParam param);
  18. Task<TData<AreaEntity>> GetEntityPartial(int id);
  19. Task<TData<AreaEntity>> GetEntityByAreaCodePartial(int areaCode);
  20. #endregion
  21. #region 提交数据
  22. Task<TData<int>> SaveFormPartial(AreaEntity entity);
  23. Task<TData> DeleteFormPartial(string ids);
  24. #endregion
  25. #region 公有方法
  26. void SetAreaParamPartial<T>(T t) where T : BaseAreaParam;
  27. void SetAreaEntityPartial<T>(T t) where T : BaseAreaEntity;
  28. void SetAreaIdPartial<T>(T t) where T : BaseAreaEntity;
  29. #endregion
  30. }
  31. }