|
@@ -32,6 +32,7 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch
|
|
|
|
|
|
/**
|
|
/**
|
|
* 删除学生对应的课程
|
|
* 删除学生对应的课程
|
|
|
|
+ *
|
|
* @param userId
|
|
* @param userId
|
|
* @param courseScheduleList
|
|
* @param courseScheduleList
|
|
* @return
|
|
* @return
|
|
@@ -39,73 +40,75 @@ public interface CourseScheduleStudentPaymentDao extends BaseDAO<Long, CourseSch
|
|
int deleteStudentCourseSchedule(@Param("userId") Integer userId, @Param("courseScheduleList") List<CourseSchedule> courseScheduleList);
|
|
int deleteStudentCourseSchedule(@Param("userId") Integer userId, @Param("courseScheduleList") List<CourseSchedule> courseScheduleList);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param courseScheduleIds: 课程编号列表
|
|
|
|
+ * @return int
|
|
* @describe 批量删除课程对应的学生缴费记录
|
|
* @describe 批量删除课程对应的学生缴费记录
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/10/31
|
|
* @date 2019/10/31
|
|
- * @param courseScheduleIds: 课程编号列表
|
|
|
|
- * @return int
|
|
|
|
*/
|
|
*/
|
|
int deleteByCourseSchedule(@Param("courseScheduleIds") List<Long> courseScheduleIds);
|
|
int deleteByCourseSchedule(@Param("courseScheduleIds") List<Long> courseScheduleIds);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param params: 班级编号
|
|
|
|
+ * @return java.util.List<com.ym.mec.biz.dal.dto.StudentAttendanceStatisticsResp>
|
|
* @describe 获取指定班级中的学生
|
|
* @describe 获取指定班级中的学生
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/10/28
|
|
* @date 2019/10/28
|
|
- * @param params: 班级编号
|
|
|
|
- * @return java.util.List<com.ym.mec.biz.dal.dto.StudentAttendanceStatisticsResp>
|
|
|
|
*/
|
|
*/
|
|
- List<StudentAttendanceStatisticsResponse> findStudentByClassGroup(Map<String,Object> params);
|
|
|
|
- int countStudentByClassGroup(Map<String,Object> params);
|
|
|
|
|
|
+ List<StudentAttendanceStatisticsResponse> findStudentByClassGroup(Map<String, Object> params);
|
|
|
|
+
|
|
|
|
+ int countStudentByClassGroup(Map<String, Object> params);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param classGroupId: 班级编号
|
|
|
|
+ * @param userId: 学生编号
|
|
|
|
+ * @return java.math.BigDecimal
|
|
* @describe 统计学生剩余课时的费用
|
|
* @describe 统计学生剩余课时的费用
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/11/15
|
|
* @date 2019/11/15
|
|
- * @param classGroupId: 班级编号
|
|
|
|
- * @param userId: 学生编号
|
|
|
|
- * @return java.math.BigDecimal
|
|
|
|
*/
|
|
*/
|
|
BigDecimal countSurplusCourseFee(@Param("classGroupId") Integer classGroupId,
|
|
BigDecimal countSurplusCourseFee(@Param("classGroupId") Integer classGroupId,
|
|
@Param("userId") Integer userId);
|
|
@Param("userId") Integer userId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param classGroupId: 班级编号
|
|
|
|
+ * @return java.math.BigDecimal
|
|
* @describe 统计所有课时的购买费用
|
|
* @describe 统计所有课时的购买费用
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/11/27
|
|
* @date 2019/11/27
|
|
- * @param classGroupId: 班级编号
|
|
|
|
- * @return java.math.BigDecimal
|
|
|
|
*/
|
|
*/
|
|
BigDecimal countAllCourseFee(@Param("classGroupId") Integer classGroupId);
|
|
BigDecimal countAllCourseFee(@Param("classGroupId") Integer classGroupId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param ids: 学生课程缴费信息编号
|
|
|
|
+ * @return int
|
|
* @describe 删除用户在指定班级上的课程
|
|
* @describe 删除用户在指定班级上的课程
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/12/3
|
|
* @date 2019/12/3
|
|
- * @param ids: 学生课程缴费信息编号
|
|
|
|
- * @return int
|
|
|
|
*/
|
|
*/
|
|
int batchDeleteWithID(@Param("ids") List<Integer> ids);
|
|
int batchDeleteWithID(@Param("ids") List<Integer> ids);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @describe 获取用户在指定班级上缴费记录编号
|
|
|
|
- * @author Joburgess
|
|
|
|
- * @date 2019/12/3
|
|
|
|
* @param classGroupId:
|
|
* @param classGroupId:
|
|
* @param userId:
|
|
* @param userId:
|
|
* @return java.util.List<java.lang.Integer>
|
|
* @return java.util.List<java.lang.Integer>
|
|
|
|
+ * @describe 获取用户在指定班级上缴费记录编号
|
|
|
|
+ * @author Joburgess
|
|
|
|
+ * @date 2019/12/3
|
|
*/
|
|
*/
|
|
List<Integer> findNotStartCourseStudentPaymentIdsWithClassGroupAndStudent(@Param("classGroupId") Integer classGroupId,
|
|
List<Integer> findNotStartCourseStudentPaymentIdsWithClassGroupAndStudent(@Param("classGroupId") Integer classGroupId,
|
|
@Param("userId") Integer userId);
|
|
@Param("userId") Integer userId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param vipGroupId: 小课编号
|
|
|
|
+ * @param teachMode: 教学形式
|
|
|
|
+ * @return java.math.BigDecimal
|
|
* @describe 获取小课指定形式下最后一节课的课程单价
|
|
* @describe 获取小课指定形式下最后一节课的课程单价
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2019/12/5
|
|
* @date 2019/12/5
|
|
- * @param vipGroupId: 小课编号
|
|
|
|
- * @param teachMode: 教学形式
|
|
|
|
- * @return java.math.BigDecimal
|
|
|
|
*/
|
|
*/
|
|
BigDecimal findVipGroupCoursePrice(@Param("vipGroupId") Integer vipGroupId,
|
|
BigDecimal findVipGroupCoursePrice(@Param("vipGroupId") Integer vipGroupId,
|
|
@Param("teachMode") String teachMode);
|
|
@Param("teachMode") String teachMode);
|
|
|
|
|
|
|
|
+ int deleteStudentCourseScheduleByUserId(@Param("courseScheduleId") Long courseScheduleId, @Param("userIdList") List<Integer> userIdList);
|
|
}
|
|
}
|