ILegalContractKeyPointApplicationService.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. using System.Collections.Generic;
  2. using System.Threading.Tasks;
  3. using Abp.Application.Services.Dto;
  4. using ContractService.Client.Staff.Dto;
  5. using ContractService.LegalCase.Dto;
  6. using IwbZero.AppServiceBase;
  7. using ContractService.LegalContract.KeyPoint.Dto;
  8. namespace ContractService.LegalContract.KeyPoint
  9. {
  10. public interface ILegalContractKeyPointAppService : IIwbZeroAsyncCrudAppService<LegalContractKeyPointDto, string, IwbPagedRequestDto, LegalContractKeyPointCreateDto, LegalContractKeyPointUpdateDto >
  11. {
  12. #region Get
  13. Task<LegalContractKeyPointInfo> GetEntity(EntityDto<string> input);
  14. Task<LegalContractKeyPointInfo> GetEntityById(string id);
  15. Task<LegalContractKeyPointInfo> GetEntityByNo(string no);
  16. #endregion
  17. Task<LegalContractKeyPointDto> CreateKp(LegalContractKeyPointCreateDto input);
  18. /// <summary>
  19. /// 变更状态
  20. /// </summary>
  21. /// <param name="input"></param>
  22. /// <returns></returns>
  23. Task ChangeState(ChangeStaterDto input);
  24. /// <summary>
  25. /// 分配关键点
  26. /// </summary>
  27. /// <param name="input"></param>
  28. /// <returns></returns>
  29. Task SetKeyPointOrg(KeyPointOrgDto input);
  30. /// <summary>
  31. /// 查询分配的关键点
  32. /// </summary>
  33. /// <param name="no"></param>
  34. /// <returns></returns>
  35. ClientStaffDto GetKeyPointOrg(string no);
  36. /// <summary>
  37. /// 获取子关键点
  38. /// </summary>
  39. /// <param name="contractNo"></param>
  40. /// <returns></returns>
  41. Task<List<LegalContractKeyPointDto>> GetKeyPoints(string contractNo);
  42. /// <summary>
  43. /// 获取关键点
  44. /// </summary>
  45. /// <returns></returns>
  46. Task<List<LegalContractKeyPointDto>> GetKeyPointsByType(int type);
  47. /// <summary>
  48. /// 变更材料(证据)
  49. /// </summary>
  50. /// <param name="input"></param>
  51. /// <returns></returns>
  52. Task CreateSupplement(KpSupplementDto input);
  53. }
  54. }