IWePackageAppService.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Abp.Web.Models;
  4. using WeEngine.CommonDto;
  5. using WeEngine.CommonDto.WeInfo;
  6. using WePlatform.Configuration;
  7. namespace WePlatform.DataCenter.Package
  8. {
  9. /// <summary>
  10. /// 方案包API
  11. /// </summary>
  12. [ShowApi]
  13. [DontWrapResult]
  14. public interface IWePackageAppService :IDataCenterAppService
  15. {
  16. /// <summary>
  17. /// 获取全部方案包
  18. /// </summary>
  19. /// <returns></returns>
  20. Task<List<WePackageDto>> GetPackageInfos();
  21. /// <summary>
  22. /// 查询方案包信息
  23. /// </summary>
  24. /// <param name="no">方案包编号</param>
  25. /// <returns></returns>
  26. Task<WePackageDto> GetPackageInfo(string no);
  27. /// <summary>
  28. /// 查询方案包XML信息
  29. /// </summary>
  30. /// <param name="no"></param>
  31. /// <returns></returns>
  32. Task<WePackageXmlDto> GetPackageXml(string no);
  33. /// <summary>
  34. /// 查询方案包详情
  35. /// </summary>
  36. /// <param name="no">方案包编号</param>
  37. /// <returns></returns>
  38. Task<WePackageDetailDto> GetPackageDetail(string no);
  39. }
  40. }