|
@@ -99,11 +99,11 @@ public interface PracticeGroupDao extends com.ym.mec.common.dal.BaseDAO<Long, Pr
|
|
@Param("groupId") Long groupId);
|
|
@Param("groupId") Long groupId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param studentId:
|
|
|
|
+ * @return int
|
|
* @describe 统计指定学员购买收费网管课的数量
|
|
* @describe 统计指定学员购买收费网管课的数量
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020/4/24
|
|
* @date 2020/4/24
|
|
- * @param studentId:
|
|
|
|
- * @return int
|
|
|
|
*/
|
|
*/
|
|
int checkStudentExitChargePractice(@Param("studentId") Integer studentId);
|
|
int checkStudentExitChargePractice(@Param("studentId") Integer studentId);
|
|
|
|
|
|
@@ -239,28 +239,30 @@ public interface PracticeGroupDao extends com.ym.mec.common.dal.BaseDAO<Long, Pr
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取导出网管课信息
|
|
* 获取导出网管课信息
|
|
|
|
+ *
|
|
* @param organIds
|
|
* @param organIds
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
List<CourseGroupExportDto> getPracticeGroupExport(@Param("organIds") String organIds);
|
|
List<CourseGroupExportDto> getPracticeGroupExport(@Param("organIds") String organIds);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @return java.util.List<com.ym.mec.biz.dal.dto.SimpleUserDto>
|
|
* @describe 获取转化失败的学员-之前有免费网管课,但是之后没有线上课的学员
|
|
* @describe 获取转化失败的学员-之前有免费网管课,但是之后没有线上课的学员
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020/4/23
|
|
* @date 2020/4/23
|
|
- * @return java.util.List<com.ym.mec.biz.dal.dto.SimpleUserDto>
|
|
|
|
*/
|
|
*/
|
|
List<SimpleUserDto> findConvertDefeatStudents(Map<String, Object> params);
|
|
List<SimpleUserDto> findConvertDefeatStudents(Map<String, Object> params);
|
|
|
|
+
|
|
int countConvertDefeatStudents(Map<String, Object> params);
|
|
int countConvertDefeatStudents(Map<String, Object> params);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param studentOrganId: 学生分部编号
|
|
|
|
+ * @param subjectId: 声部编号
|
|
|
|
+ * @param studentId: 学生编号
|
|
|
|
+ * @return java.util.List<com.ym.mec.biz.dal.dto.SimpleUserDto>
|
|
* @describe 获取可以指派试听课的老师列表
|
|
* @describe 获取可以指派试听课的老师列表
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020/4/23
|
|
* @date 2020/4/23
|
|
- * @param studentOrganId: 学生分部编号
|
|
|
|
- * @param subjectId: 声部编号
|
|
|
|
- * @param studentId: 学生编号
|
|
|
|
- * @return java.util.List<com.ym.mec.biz.dal.dto.SimpleUserDto>
|
|
|
|
*/
|
|
*/
|
|
List<SimpleUserDto> findEnableAssignTeachers(@Param("studentOrganId") Integer studentOrganId,
|
|
List<SimpleUserDto> findEnableAssignTeachers(@Param("studentOrganId") Integer studentOrganId,
|
|
@Param("subjectId") Integer subjectId,
|
|
@Param("subjectId") Integer subjectId,
|
|
@@ -269,86 +271,90 @@ public interface PracticeGroupDao extends com.ym.mec.common.dal.BaseDAO<Long, Pr
|
|
|
|
|
|
/**
|
|
/**
|
|
* 修改网管课备注
|
|
* 修改网管课备注
|
|
|
|
+ *
|
|
* @param groupId
|
|
* @param groupId
|
|
* @param memo
|
|
* @param memo
|
|
*/
|
|
*/
|
|
void updateMemo(@Param("groupId") Long groupId, @Param("memo") String memo);
|
|
void updateMemo(@Param("groupId") Long groupId, @Param("memo") String memo);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param studentId:
|
|
|
|
+ * @return java.lang.Integer
|
|
* @describe 获取学生最后一节网管课对应的声部
|
|
* @describe 获取学生最后一节网管课对应的声部
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020/4/23
|
|
* @date 2020/4/23
|
|
- * @param studentId:
|
|
|
|
- * @return java.lang.Integer
|
|
|
|
*/
|
|
*/
|
|
Integer findLastPracticeSubject(@Param("studentId") Integer studentId);
|
|
Integer findLastPracticeSubject(@Param("studentId") Integer studentId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param studentId:
|
|
|
|
+ * @return java.util.List<com.ym.mec.biz.dal.entity.PracticeGroup>
|
|
* @describe 获取学生的网管试听课
|
|
* @describe 获取学生的网管试听课
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020/4/24
|
|
* @date 2020/4/24
|
|
- * @param studentId:
|
|
|
|
- * @return java.util.List<com.ym.mec.biz.dal.entity.PracticeGroup>
|
|
|
|
*/
|
|
*/
|
|
List<PracticeGroup> findStudentTrialPractices(@Param("studentId") Integer studentId);
|
|
List<PracticeGroup> findStudentTrialPractices(@Param("studentId") Integer studentId);
|
|
|
|
+
|
|
int countStudentTrialPractices(@Param("studentId") Integer studentId);
|
|
int countStudentTrialPractices(@Param("studentId") Integer studentId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param studentId:
|
|
|
|
+ * @return int
|
|
* @describe 统计学生进行中的试听课数量
|
|
* @describe 统计学生进行中的试听课数量
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020.04.28
|
|
* @date 2020.04.28
|
|
- * @param studentId:
|
|
|
|
- * @return int
|
|
|
|
*/
|
|
*/
|
|
int countStudentIngTrialPractices(@Param("studentId") Integer studentId);
|
|
int countStudentIngTrialPractices(@Param("studentId") Integer studentId);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @describe 获取老师
|
|
|
|
- * @author Joburgess
|
|
|
|
- * @date 2020/4/24
|
|
|
|
* @param studentId:
|
|
* @param studentId:
|
|
* @param teacherId:
|
|
* @param teacherId:
|
|
* @return java.util.List<com.ym.mec.biz.dal.entity.CourseSchedule>
|
|
* @return java.util.List<com.ym.mec.biz.dal.entity.CourseSchedule>
|
|
|
|
+ * @describe 获取老师
|
|
|
|
+ * @author Joburgess
|
|
|
|
+ * @date 2020/4/24
|
|
*/
|
|
*/
|
|
List<CourseSchedule> findStudentAndTeacherTrialPractices(@Param("studentId") Integer studentId,
|
|
List<CourseSchedule> findStudentAndTeacherTrialPractices(@Param("studentId") Integer studentId,
|
|
@Param("teacherId") Integer teacherId);
|
|
@Param("teacherId") Integer teacherId);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @describe 统计指定老师和学生是否存在关联的试听课
|
|
|
|
- * @author Joburgess
|
|
|
|
- * @date 2020/4/24
|
|
|
|
* @param studentId:
|
|
* @param studentId:
|
|
* @param teacherId:
|
|
* @param teacherId:
|
|
* @return int
|
|
* @return int
|
|
|
|
+ * @describe 统计指定老师和学生是否存在关联的试听课
|
|
|
|
+ * @author Joburgess
|
|
|
|
+ * @date 2020/4/24
|
|
*/
|
|
*/
|
|
int countStudentAndTeacherTrialPractices(@Param("studentId") Integer studentId,
|
|
int countStudentAndTeacherTrialPractices(@Param("studentId") Integer studentId,
|
|
@Param("teacherId") Integer teacherId);
|
|
@Param("teacherId") Integer teacherId);
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @return java.util.List<com.ym.mec.biz.dal.entity.PracticeGroup>
|
|
* @describe 获取需要提醒续费网管课的用户列表
|
|
* @describe 获取需要提醒续费网管课的用户列表
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020.05.29
|
|
* @date 2020.05.29
|
|
- * @return java.util.List<com.ym.mec.biz.dal.entity.PracticeGroup>
|
|
|
|
*/
|
|
*/
|
|
List<Integer> getNeedRemindPracticeUsers();
|
|
List<Integer> getNeedRemindPracticeUsers();
|
|
|
|
|
|
/**
|
|
/**
|
|
|
|
+ * @param studentIds:
|
|
|
|
+ * @return java.util.List<java.util.Map < java.lang.Integer, java.lang.String>>
|
|
* @describe 获取用户和需要提醒的网管课map
|
|
* @describe 获取用户和需要提醒的网管课map
|
|
* @author Joburgess
|
|
* @author Joburgess
|
|
* @date 2020.05.29
|
|
* @date 2020.05.29
|
|
- * @param studentIds:
|
|
|
|
- * @return java.util.List<java.util.Map<java.lang.Integer,java.lang.String>>
|
|
|
|
*/
|
|
*/
|
|
List<Map<Integer, String>> getUserNeedRemindPracticeIdMap(@Param("studentIds") List<Integer> studentIds);
|
|
List<Map<Integer, String>> getUserNeedRemindPracticeIdMap(@Param("studentIds") List<Integer> studentIds);
|
|
|
|
|
|
/**
|
|
/**
|
|
- * @describe 批量修改网管课续费提醒状态
|
|
|
|
- * @author Joburgess
|
|
|
|
- * @date 2020.05.29
|
|
|
|
* @param practiceIds:
|
|
* @param practiceIds:
|
|
* @param remindStatus:
|
|
* @param remindStatus:
|
|
* @return int
|
|
* @return int
|
|
|
|
+ * @describe 批量修改网管课续费提醒状态
|
|
|
|
+ * @author Joburgess
|
|
|
|
+ * @date 2020.05.29
|
|
*/
|
|
*/
|
|
int batchUpdatePracticeRemindStatus(@Param("practiceIds") List<Integer> practiceIds,
|
|
int batchUpdatePracticeRemindStatus(@Param("practiceIds") List<Integer> practiceIds,
|
|
@Param("remindStatus") Integer remindStatus);
|
|
@Param("remindStatus") Integer remindStatus);
|
|
|
|
+
|
|
|
|
+ List<PracticeCourseDto> getPracticeGroupByIds(@Param("practiceIds") List<Long> practiceIds);
|
|
}
|
|
}
|