DelegateInfoService.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package jnpf.flowable.service;
  2. import jnpf.base.service.SuperService;
  3. import jnpf.flowable.entity.DelegateEntity;
  4. import jnpf.flowable.entity.DelegateInfoEntity;
  5. import jnpf.flowable.model.delegate.DelegateCrForm;
  6. import jnpf.flowable.model.delegate.DelegateListVO;
  7. import jnpf.flowable.model.delegate.DelegatePagination;
  8. import jnpf.flowable.model.delegate.DelegateUpForm;
  9. import java.util.List;
  10. /**
  11. * 类的描述
  12. *
  13. * @author JNPF@YinMai Info. Co., Ltd
  14. * @version 5.0.x
  15. * @since 2024/9/2 13:40
  16. */
  17. public interface DelegateInfoService extends SuperService<DelegateInfoEntity> {
  18. /**
  19. * 列表
  20. *
  21. * @param pagination 分页参数
  22. */
  23. List<DelegateListVO> getList(DelegatePagination pagination);
  24. /**
  25. * 列表
  26. *
  27. * @param delegateIds 委托主键集合
  28. */
  29. List<DelegateInfoEntity> getList(List<String> delegateIds);
  30. /**
  31. * 列表
  32. *
  33. * @param delegateId 委托主键
  34. */
  35. List<DelegateInfoEntity> getList(String delegateId);
  36. /**
  37. * 获取列表
  38. *
  39. * @param toUserId 被委托人/代理人id
  40. */
  41. List<DelegateInfoEntity> getByToUserId(String toUserId);
  42. /**
  43. * 获取列表
  44. *
  45. * @param toUserIds 被委托人/代理人id
  46. */
  47. List<DelegateInfoEntity> getByToUserIds(List<String> toUserIds);
  48. /**
  49. * 新增被 委托/代理 的用户
  50. *
  51. * @param fo 参数
  52. * @param delegateEntity 委托实体
  53. */
  54. void create(DelegateCrForm fo, DelegateEntity delegateEntity);
  55. /**
  56. * 更新
  57. *
  58. * @param fo 参数
  59. * @param delegateEntity 委托实体
  60. */
  61. void update(DelegateUpForm fo, DelegateEntity delegateEntity);
  62. /**
  63. * 删除
  64. *
  65. * @param delegateId 委托主键
  66. */
  67. void delete(String delegateId);
  68. }