|
@@ -1,17 +1,19 @@
|
|
|
package com.ym.mec.biz.dal.dao;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
+
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
+
|
|
|
import com.ym.mec.biz.dal.dto.StudentAttendanceViewDto;
|
|
|
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.biz.dal.enums.GroupType;
|
|
|
import com.ym.mec.common.dal.BaseDAO;
|
|
|
-import org.apache.ibatis.annotations.Param;
|
|
|
-
|
|
|
-import java.util.Date;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
|
|
|
public interface ClassGroupStudentMapperDao extends BaseDAO<Long, ClassGroupStudentMapper> {
|
|
|
/**
|
|
@@ -190,4 +192,13 @@ public interface ClassGroupStudentMapperDao extends BaseDAO<Long, ClassGroupStud
|
|
|
*/
|
|
|
Integer countUserGroups(@Param("userId") Integer userId,
|
|
|
@Param("groupType") String groupType);
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 查询学生所在的班级编号
|
|
|
+ * @param musicGroupId
|
|
|
+ * @param userId
|
|
|
+ * @param groupTpye
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ List<Integer> queryClassGroupIdList(@Param("musicGroupId") String musicGroupId, @Param("userId") Integer userId, @Param("groupType") GroupType groupType);
|
|
|
}
|