| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- package com.ruoyi.learn.mapper;
- import java.util.List;
- import java.util.Map;
- import com.ruoyi.learn.domain.LearnStudent;
- import org.apache.ibatis.annotations.Param;
- /**
- * 学生Mapper接口
- *
- * @author ruoyi
- * @date 2025-09-18
- */
- public interface LearnStudentMapper
- {
- public List<LearnStudent> selectLearnStudentsByMap(Map cond);
- public List<LearnStudent> selectClassStudents(@Param("batchId") Long batchId, @Param("classIds") Long[] classIds);
- /**
- * 查询学生
- *
- * @param studentId 学生主键
- * @return 学生
- */
- public LearnStudent selectLearnStudentByStudentId(Long studentId);
- /**
- * 查询学生列表
- *
- * @param learnStudent 学生
- * @return 学生集合
- */
- public List<LearnStudent> selectLearnStudentList(LearnStudent learnStudent);
- /**
- * 新增学生
- *
- * @param learnStudent 学生
- * @return 结果
- */
- public int insertLearnStudent(LearnStudent learnStudent);
- /**
- * 修改学生
- *
- * @param learnStudent 学生
- * @return 结果
- */
- public int updateLearnStudent(LearnStudent learnStudent);
- /**
- * 删除学生
- *
- * @param studentId 学生主键
- * @return 结果
- */
- public int deleteLearnStudentByStudentId(Long studentId);
- /**
- * 批量删除学生
- *
- * @param studentIds 需要删除的数据主键集合
- * @return 结果
- */
- public int deleteLearnStudentByStudentIds(Long[] studentIds);
- }
|