MusicGroupPaymentCalenderService.java 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  1. package com.ym.mec.biz.service;
  2. import java.util.List;
  3. import com.ym.mec.biz.dal.dto.MusicGroupPaymentCalenderAuditDetailDto;
  4. import com.ym.mec.biz.dal.dto.MusicGroupPaymentCalenderAuditDto;
  5. import com.ym.mec.biz.dal.dto.MusicGroupPaymentCalenderDto;
  6. import com.ym.mec.biz.dal.entity.MusicGroup;
  7. import com.ym.mec.biz.dal.entity.MusicGroupPaymentCalender;
  8. import com.ym.mec.biz.dal.entity.MusicGroupStudentFee;
  9. import com.ym.mec.biz.dal.page.MusicGroupPaymentCalenderQueryInfo;
  10. import com.ym.mec.common.page.PageInfo;
  11. import com.ym.mec.common.service.BaseService;
  12. public interface MusicGroupPaymentCalenderService extends BaseService<Long, MusicGroupPaymentCalender> {
  13. /**
  14. * 创建缴费信息
  15. * @param musicGroupPaymentCalenderDto
  16. * @return
  17. */
  18. String create(MusicGroupPaymentCalenderDto musicGroupPaymentCalenderDto);
  19. /**
  20. * 获取明细
  21. * @param id
  22. * @return
  23. */
  24. Object getDetail(Long id);
  25. /**
  26. * 更新缴费信息
  27. */
  28. String merge(MusicGroupPaymentCalenderDto musicGroupPaymentCalenderDto);
  29. /**
  30. *
  31. * @param id
  32. * @param memo
  33. * @return
  34. */
  35. boolean makesureSchoolePaid(Long id, String memo);
  36. /**
  37. * 自动更新付款日历记录状态
  38. * @return
  39. */
  40. boolean autoUpdateMusicGroupPaymentCalenderStatus();
  41. /**
  42. * 批量新增、修改乐团缴费周期
  43. * @param musicGroupPaymentCalenders
  44. */
  45. void batchInsert(List<MusicGroupPaymentCalender> musicGroupPaymentCalenders);
  46. /**
  47. * 修改缴费日期
  48. * @param paymentCalender
  49. */
  50. void updateStartTime(MusicGroupPaymentCalender paymentCalender);
  51. /**
  52. * 删除
  53. * @param id
  54. */
  55. void del(Long id);
  56. /**
  57. * 推送乐团缴费提醒
  58. * @param id
  59. * @param userIds
  60. * @return
  61. */
  62. void paymentPush(Long id, String userIds);
  63. /**
  64. * @describe 更新乐团学员缴费状态
  65. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  66. * @author zouxuan
  67. * @date 2020/9/21
  68. * @time 13:56
  69. * @param :
  70. * @return void
  71. */
  72. void autoUpdateMusicGroupStudentFeeStatus();
  73. /**
  74. * @describe 乐团缴费日历审核列表
  75. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  76. * @author zouxuan
  77. * @date 2020/10/30
  78. * @time 10:45
  79. * @param pageInfo:
  80. * @return void
  81. */
  82. PageInfo<MusicGroupPaymentCalenderAuditDto> auditList(MusicGroupPaymentCalenderQueryInfo pageInfo);
  83. /**
  84. * @describe 乐团缴费日历审核列表详情
  85. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  86. * @author zouxuan
  87. * @date 2020/10/30
  88. * @time 15:10
  89. * @param calenderId:
  90. * @return com.ym.mec.biz.dal.dto.MusicGroupPaymentCalenderAuditDetailDto
  91. */
  92. MusicGroupPaymentCalenderAuditDetailDto auditListDetail(String batchNo);
  93. /**
  94. * @describe 审核通过
  95. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  96. * @author zouxuan
  97. * @date 2020/10/30
  98. * @time 17:39
  99. * @param batchNo:
  100. * @return void
  101. */
  102. void auditPass(String batchNo,String auditMemo);
  103. /**
  104. * @describe 审核拒绝
  105. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  106. * @author zouxuan
  107. * @date 2020/10/30
  108. * @time 17:39
  109. * @param batchNo:
  110. * @return void
  111. */
  112. void auditRefuse(String batchNo,String auditMemo);
  113. /**
  114. * 获取乐团报名的缴费日历
  115. * @param musicGroupId
  116. * @return
  117. */
  118. MusicGroupPaymentCalender findByMusicGroupRegCalender(String musicGroupId);
  119. /**
  120. * @describe 缴费成功后更新calender
  121. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  122. * @author zouxuan
  123. * @date 2020/11/3
  124. * @time 17:04
  125. * @param detailId:
  126. * @param userId:
  127. * @return com.ym.mec.biz.dal.entity.MusicGroupStudentFee
  128. */
  129. MusicGroupStudentFee updateCalender(Long detailId, Integer userId);
  130. /**
  131. * @describe 推送学生待续费通知
  132. * @apiNote 时光荏苒,认真工作的时间总是过得很快,而我、享受这一刻!
  133. * @author zouxuan
  134. * @date 2020/11/3
  135. * @time 17:04
  136. * @param calenderId:
  137. * @param musicGroup:
  138. * @return com.ym.mec.biz.dal.entity.MusicGroupStudentFee
  139. */
  140. void pushWaitRenewMessage(Long calenderId, MusicGroup musicGroup);
  141. }