IEmergencyPlanApplicationService.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Abp.Application.Services.Dto;
  4. using IwbZero.AppServiceBase;
  5. using WePlatform.WeLib.Knowledge.Plan.Dto;
  6. namespace WePlatform.WeLib.Knowledge.Plan
  7. {
  8. public interface IEmergencyPlanAppService : IIwbZeroAsyncCrudAppService<EmergencyPlanDto, string, IwbPagedRequestDto, EmergencyPlanCreateDto, EmergencyPlanUpdateDto >
  9. {
  10. /// <summary>
  11. /// 获取子预案
  12. /// </summary>
  13. /// <param name="input"></param>
  14. /// <returns></returns>
  15. Task<List<JsTreeDto>> GetChildPlan(EntityDto<string> input);
  16. /// <summary>
  17. /// 查下预案内容
  18. /// </summary>
  19. /// <param name="input"></param>
  20. /// <returns></returns>
  21. Task<List<PlanContentDto>> GetPlanContent(QueryContentDto input);
  22. /// <summary>
  23. /// 添加(更新)预案内容
  24. /// </summary>
  25. /// <param name="input"></param>
  26. /// <returns></returns>
  27. Task UpdatePlanContent(PlanContentDto input);
  28. /// <summary>
  29. /// 删除内容
  30. /// </summary>
  31. /// <param name="input"></param>
  32. /// <returns></returns>
  33. Task DeletePlanContent(EntityDto input);
  34. /// <summary>
  35. /// 设为当前使用
  36. /// </summary>
  37. /// <param name="input"></param>
  38. /// <returns></returns>
  39. Task SetUse(EntityDto input);
  40. #region Get
  41. Task<EmergencyPlanInfo> GetEntity(EntityDto<string> input);
  42. Task<EmergencyPlanInfo> GetEntityById(string id);
  43. Task<EmergencyPlanInfo> GetEntityByNo(string no);
  44. #endregion
  45. }
  46. }