|
@@ -245,62 +245,62 @@ public interface VipGroupService extends BaseService<Long, VipGroup> {
|
|
|
void orderCallback(StudentPaymentOrder order);
|
|
|
|
|
|
/**
|
|
|
- * @Author: Joburgess
|
|
|
- * @Date: 2019/10/3
|
|
|
- * @params [vipGroupId, studentId]
|
|
|
- * @return void
|
|
|
- * @describe 申请退课
|
|
|
- */
|
|
|
- void applyRefund(Long vipGroupId);
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 给指定学生退课
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/11/15
|
|
|
- * @param vipGroupId: vip课程
|
|
|
- * @param studentId: 学生编号
|
|
|
- * @return void
|
|
|
- */
|
|
|
- void applyRefundForStudent(Long vipGroupId, Integer studentId, BigDecimal amount);
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 对某个学生进行休学
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/12/18
|
|
|
- * @param vipGroupId: vip课编号
|
|
|
- * @param studentId: 学生编号
|
|
|
- * @return void
|
|
|
- */
|
|
|
- void pauseForStudent(Long vipGroupId, Integer studentId);
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 恢复休学的学生
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/12/18
|
|
|
- * @param studentRecoverInfo:
|
|
|
- * @return void
|
|
|
- */
|
|
|
- void recoverForStudent(StudentRecoverDto studentRecoverInfo);
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 获取学生休学信息
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/12/24
|
|
|
- * @param vipGroupId:
|
|
|
- * @param studentId:
|
|
|
- * @return com.ym.mec.biz.dal.dto.StudentRecoverInfoDto
|
|
|
- */
|
|
|
- StudentRecoverInfoDto getStudentPauseInfo(Long vipGroupId, Integer studentId);
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 获取指定学生的剩余课时费用
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/11/15
|
|
|
- * @param vipGroupId: VIP课编号
|
|
|
- * @param studentId: 学生编号
|
|
|
- * @return java.util.Map<java.lang.String,java.math.BigDecimal>
|
|
|
- */
|
|
|
- Map<String,BigDecimal> getStudentSurplusCourseFee(Long vipGroupId, Integer studentId);
|
|
|
+ * @Author: Joburgess
|
|
|
+ * @Date: 2019/10/3
|
|
|
+ * @params [vipGroupId, studentId]
|
|
|
+ * @return void
|
|
|
+ * @describe 申请退课
|
|
|
+ */
|
|
|
+ void applyRefund(Long vipGroupId);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @describe 给指定学生退课
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/11/15
|
|
|
+ * @param vipGroupId: vip课程
|
|
|
+ * @param studentId: 学生编号
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ void applyRefundForStudent(Long vipGroupId, Integer studentId, BigDecimal amount);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @describe 对某个学生进行休学
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/12/18
|
|
|
+ * @param vipGroupId: vip课编号
|
|
|
+ * @param studentId: 学生编号
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ void pauseForStudent(Long vipGroupId, Integer studentId);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @describe 恢复休学的学生
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/12/18
|
|
|
+ * @param studentRecoverInfo:
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ void recoverForStudent(StudentRecoverDto studentRecoverInfo);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @describe 获取学生休学信息
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/12/24
|
|
|
+ * @param vipGroupId:
|
|
|
+ * @param studentId:
|
|
|
+ * @return com.ym.mec.biz.dal.dto.StudentRecoverInfoDto
|
|
|
+ */
|
|
|
+ StudentRecoverInfoDto getStudentPauseInfo(Long vipGroupId, Integer studentId);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @describe 获取指定学生的剩余课时费用
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/11/15
|
|
|
+ * @param vipGroupId: VIP课编号
|
|
|
+ * @param studentId: 学生编号
|
|
|
+ * @return java.util.Map<java.lang.String,java.math.BigDecimal>
|
|
|
+ */
|
|
|
+ Map<String,BigDecimal> getStudentSurplusCourseFee(Long vipGroupId, Integer studentId);
|
|
|
|
|
|
/**
|
|
|
* @Author: Joburgess
|
|
@@ -344,7 +344,7 @@ public interface VipGroupService extends BaseService<Long, VipGroup> {
|
|
|
* @return
|
|
|
*/
|
|
|
boolean awardedMonthlyRewards();
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* 根据老师查询vip课教学点
|
|
|
* @param userId
|
|
@@ -379,19 +379,19 @@ public interface VipGroupService extends BaseService<Long, VipGroup> {
|
|
|
*/
|
|
|
void addVipGroupStudents(Long vipGroupId,List<Integer> studentIds);
|
|
|
|
|
|
- /**
|
|
|
- * 更新vipgroup至完成状态
|
|
|
- */
|
|
|
- void updateVipGroupStatusToFinished();
|
|
|
-
|
|
|
- /**
|
|
|
- * @describe 获取vip课购买信息
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/11/29
|
|
|
- * @param vipGroupId: vip课编号
|
|
|
- * @param userId: 用户编号
|
|
|
- * @return void
|
|
|
- */
|
|
|
+ /**
|
|
|
+ * 更新vipgroup至完成状态
|
|
|
+ */
|
|
|
+ void updateVipGroupStatusToFinished();
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @describe 获取vip课购买信息
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/11/29
|
|
|
+ * @param vipGroupId: vip课编号
|
|
|
+ * @param userId: 用户编号
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
VipGroupPayInfoDto getVipGroupPayInfo(Integer vipGroupId,Integer userId);
|
|
|
|
|
|
/**
|