You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.5 KiB
43 lines
1.5 KiB
5 months ago
|
package com.jubilantz.mappers;
|
||
|
|
||
|
import com.jubilantz.entity.EasStudent;
|
||
|
import com.jubilantz.utils.PageUtil;
|
||
|
import org.apache.ibatis.annotations.Mapper;
|
||
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
||
|
import java.util.List;
|
||
|
@Mapper
|
||
|
public interface EasStudentMapper {
|
||
|
// EasStudent getByUsername(String username);
|
||
|
//直接查找
|
||
|
List<EasStudent> getList (EasStudent easStudent);
|
||
|
|
||
|
//包含两个一对一关系
|
||
|
List<EasStudent> findList(EasStudent easStudent);
|
||
|
|
||
|
List<EasStudent> findListByUsername(String username);
|
||
|
|
||
|
EasStudent getStudentByUsername(String username);
|
||
|
|
||
|
void updateStudent(EasStudent easStudent);
|
||
|
|
||
|
int getCountBytIdandcId(@Param("tId") Integer tId,@Param("baseCourseId") Integer baseCourseId,@Param("classId") Integer classId);
|
||
|
|
||
|
int getEndingCountBytIdandcId(@Param("tId") Integer tId,@Param("baseCourseId") Integer baseCourseId,@Param("classId") Integer classId);
|
||
|
|
||
|
List<EasStudent> getStudentScoreListByTid(@Param("tId") Integer tId,@Param("baseCourseId") Integer baseCourseId,
|
||
|
@Param("classId") Integer classId,@Param("pageUtil") PageUtil pageUtil);
|
||
|
|
||
|
List<EasStudent> getStudentSelectCourseListByTid(@Param("tId") Integer tId,@Param("baseCourseId") Integer baseCourseId,
|
||
|
@Param("classId") Integer classId,@Param("pageUtil") PageUtil pageUtil);
|
||
|
|
||
|
|
||
|
int getTotal();
|
||
|
|
||
|
int getTotalSex(String sex);
|
||
|
|
||
|
void addUsername(String username);
|
||
|
|
||
|
void deleteStudent(String username);
|
||
|
}
|