SysUserLinkPtlAgreementService.java 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. package com.ydtech.modules.admin.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.ydtech.modules.admin.model.SysUser;
  4. import com.ydtech.modules.admin.model.dto.SysUserDto;
  5. import com.ydtech.modules.admin.model.dto.SysUserLinkPtlAgreementDto;
  6. import com.ydtech.modules.admin.model.dto.SysUserLinkPtlAgreementQueryDto;
  7. import com.ydtech.modules.admin.model.po.SysUserLinkPtlAgreement;
  8. import com.ydtech.modules.admin.model.vo.SysUserBaseVO;
  9. import com.ydtech.modules.admin.model.vo.SysUserLinkPtlAgreementAddVo;
  10. import com.ydtech.modules.admin.model.vo.SysUserLinkPtlAgreementVo;
  11. import com.ydtech.modules.order.entity.BasePageResult;
  12. import com.ydtech.modules.protocol.entity.po.PtlAgreement;
  13. import java.util.List;
  14. public interface SysUserLinkPtlAgreementService extends IService<SysUserLinkPtlAgreement> {
  15. /**
  16. * @version
  17. * @author: hxl
  18. * @Date: 2024/4/15 15:11
  19. * @Description: 分页
  20. */
  21. BasePageResult<SysUserLinkPtlAgreementDto> queryPage(SysUserLinkPtlAgreementVo sysUserLinkPtlAgreementVo);
  22. /**
  23. * @version
  24. * @author: hxl
  25. * @Date: 2024/4/15 15:12
  26. * @Description: 修改
  27. */
  28. void addOrUpdate(SysUserLinkPtlAgreementAddVo sysUserLinkPtlAgreementAddVo, SysUser user);
  29. /**
  30. * @version
  31. * @author: hxl
  32. * @Date: 2024/4/15 17:23
  33. * @Description: 更具id删除数据
  34. */
  35. void deleteByIds(List<Long> ids);
  36. /**
  37. * @version
  38. * @author: hxl
  39. * @Date: 2024/4/15 17:27
  40. * @Description: 查询所有的后线人员表
  41. */
  42. List<SysUserBaseVO> findUserList(String userId);
  43. /**
  44. * @version
  45. * @author: hxl
  46. * @Date: 2024/4/15 17:56
  47. * @Description: 查询所有审核的协议列表
  48. */
  49. List<PtlAgreement> findPtlAgreementList();
  50. /**
  51. * @version
  52. * @author: hxl
  53. * @Date: 2024/4/16 9:27
  54. * @Description: 查询后线人员关联的协议列表
  55. */
  56. List<SysUserLinkPtlAgreementDto> findPtlAgreementListByUserId(String userId);
  57. /**
  58. * @version
  59. * @author: hxl
  60. * @Date: 2024/4/19 9:55
  61. * @Description: 创建后线人员绑定的协议数据
  62. */
  63. List<PtlAgreement> findAllPtlAgreementListByUserId(String userId);
  64. /**
  65. * @version
  66. * @author: hxl
  67. * @Date: 2024/4/23 11:36
  68. * @Description: 查询后线人员+分页
  69. */
  70. BasePageResult<SysUserBaseVO> findUserListByPage(SysUserDto sysUserDto);
  71. /**
  72. * @version
  73. * @author: hxl
  74. * @Date: 2024/7/2 11:25
  75. * @Description: 分页查询数据
  76. */
  77. BasePageResult<PtlAgreement> findPtlAgreementPageListByUserId(SysUserLinkPtlAgreementQueryDto sysUserLinkPtlAgreementQueryDto);
  78. /**
  79. * @version
  80. * @author: whp
  81. * @Date: 2024/07/23
  82. * @Description: 查询审核的所有协议 协议名称拼接
  83. */
  84. List<PtlAgreement> findPtlAgreementListNew();
  85. }