|
@@ -5,6 +5,7 @@ import com.ym.mec.biz.dal.dto.TeacherClassStudentDto;
|
|
|
import com.ym.mec.biz.dal.entity.ClassGroupStudentMapper;
|
|
|
import com.ym.mec.biz.dal.entity.StudentRegistration;
|
|
|
import com.ym.mec.biz.dal.enums.ClassGroupStudentStatusEnum;
|
|
|
+import com.ym.mec.biz.dal.enums.ClassGroupTypeEnum;
|
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
@@ -132,38 +133,39 @@ public interface ClassGroupStudentMapperDao extends BaseDAO<Long, ClassGroupStud
|
|
|
*
|
|
|
* @param musicGroupId
|
|
|
* @param userId
|
|
|
+ * @param type
|
|
|
* @return
|
|
|
*/
|
|
|
- List<ClassGroupStudentMapper> findHighClassGroupHasUser(@Param("musicGroupId") String musicGroupId, @Param("userId") Integer userId);
|
|
|
+ List<ClassGroupStudentMapper> findHighClassGroupHasUser(@Param("musicGroupId") String musicGroupId, @Param("userId") Integer userId, @Param("type") ClassGroupTypeEnum type);
|
|
|
|
|
|
/**
|
|
|
- * @describe 获取学生在指定日期对应状态的班级编号
|
|
|
- * @author Joburgess
|
|
|
- * @date 2019/11/20
|
|
|
* @param userId: 用户编号
|
|
|
- * @param date: 日期
|
|
|
+ * @param date: 日期
|
|
|
* @param status: 状态
|
|
|
* @return java.util.List<java.lang.Integer>
|
|
|
+ * @describe 获取学生在指定日期对应状态的班级编号
|
|
|
+ * @author Joburgess
|
|
|
+ * @date 2019/11/20
|
|
|
*/
|
|
|
List<Integer> findClassGroupIdByUserAndCourseDateAndStatus(@Param("userId") Integer userId,
|
|
|
- @Param("data")Date date,
|
|
|
+ @Param("data") Date date,
|
|
|
@Param("status") String status);
|
|
|
|
|
|
/**
|
|
|
+ * @param classGroupIds: 班级编号列表
|
|
|
+ * @return java.util.List<java.util.Map < java.lang.Integer, java.lang.Integer>>
|
|
|
* @describe 统计班级学生人数
|
|
|
* @author Joburgess
|
|
|
* @date 2019/11/21
|
|
|
- * @param classGroupIds: 班级编号列表
|
|
|
- * @return java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>>
|
|
|
*/
|
|
|
- List<Map<Integer,Integer>> countClassGroupsStudentNum(@Param("classGroupIds") List<Integer> classGroupIds);
|
|
|
+ List<Map<Integer, Integer>> countClassGroupsStudentNum(@Param("classGroupIds") List<Integer> classGroupIds);
|
|
|
|
|
|
/**
|
|
|
+ * @param classGroupId: 班级编号
|
|
|
+ * @return java.util.List<java.util.Map < java.lang.Integer, java.lang.Integer>>
|
|
|
* @describe 统计班级学生人数
|
|
|
* @author Joburgess
|
|
|
* @date 2019/11/21
|
|
|
- * @param classGroupId: 班级编号
|
|
|
- * @return java.util.List<java.util.Map<java.lang.Integer,java.lang.Integer>>
|
|
|
*/
|
|
|
Integer countClassGroupStudentNum(@Param("classGroupId") Integer classGroupId);
|
|
|
}
|