MusicGroupPaymentCalenderService.java 4.6 KB

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