|
@@ -1,12 +1,11 @@
|
|
|
package com.ym.mec.biz.dal.dao;
|
|
|
|
|
|
-import com.ym.mec.biz.dal.entity.ClassGroupStudentMapper;
|
|
|
-import com.ym.mec.biz.dal.enums.ClassGroupStudentStatusEnum;
|
|
|
-import com.ym.mec.common.dal.BaseDAO;
|
|
|
+import java.util.List;
|
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
-import java.util.List;
|
|
|
+import com.ym.mec.biz.dal.entity.ClassGroupStudentMapper;
|
|
|
+import com.ym.mec.common.dal.BaseDAO;
|
|
|
|
|
|
public interface ClassGroupStudentMapperDao extends BaseDAO<Long, ClassGroupStudentMapper> {
|
|
|
|
|
@@ -26,14 +25,12 @@ public interface ClassGroupStudentMapperDao extends BaseDAO<Long, ClassGroupStud
|
|
|
ClassGroupStudentMapper query(@Param("classGroupId") int classGroupId, @Param("userId") Integer userId);
|
|
|
|
|
|
/**
|
|
|
- * 根据乐团编号修改学生状态
|
|
|
+ * 根据乐团编号删除指定学生
|
|
|
* @param musicGroupId 乐团编号
|
|
|
* @param userId 学生编号
|
|
|
- * @param status 状态
|
|
|
* @return
|
|
|
*/
|
|
|
- int updateUserStatusByMusicGroupId(@Param("musicGroupId") String musicGroupId, @Param("userId") Integer userId,
|
|
|
- @Param("status") ClassGroupStudentStatusEnum status);
|
|
|
+ int deleteStudentByMusicGroupId(@Param("musicGroupId") String musicGroupId, @Param("userId") Integer userId);
|
|
|
|
|
|
/**
|
|
|
* 根据班级编号删除关联
|