From 8f362aff836c63a5368470969484f67a9f3e9098 Mon Sep 17 00:00:00 2001 From: p6b5xol87 <1539585431@qq.com> Date: Wed, 19 Jun 2024 17:30:38 +0800 Subject: [PATCH] ADD file via upload --- EasStudentMapper.java | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 EasStudentMapper.java diff --git a/EasStudentMapper.java b/EasStudentMapper.java new file mode 100644 index 0000000..327bb86 --- /dev/null +++ b/EasStudentMapper.java @@ -0,0 +1,42 @@ +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 getList (EasStudent easStudent); + + //包含两个一对一关系 + List findList(EasStudent easStudent); + + List 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 getStudentScoreListByTid(@Param("tId") Integer tId,@Param("baseCourseId") Integer baseCourseId, + @Param("classId") Integer classId,@Param("pageUtil") PageUtil pageUtil); + + List 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); +}