From c93a694283a1c59a8a30f2bfc21c358af70f09cf Mon Sep 17 00:00:00 2001 From: p6b5xol87 <1539585431@qq.com> Date: Wed, 19 Jun 2024 17:30:28 +0800 Subject: [PATCH] ADD file via upload --- EasTeacherMapper.java | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 EasTeacherMapper.java diff --git a/EasTeacherMapper.java b/EasTeacherMapper.java new file mode 100644 index 0000000..29ba4a6 --- /dev/null +++ b/EasTeacherMapper.java @@ -0,0 +1,29 @@ +package com.jubilantz.mappers; + +import com.jubilantz.entity.EasStudent; +import com.jubilantz.entity.EasTeacher; +import org.apache.ibatis.annotations.Mapper; + +import java.util.List; +@Mapper +public interface EasTeacherMapper { + + //包含两个一对一关系 + List findTeacherList(EasTeacher easTeacher); + + List findListByUsername(String username); + + EasTeacher getTeacherByUsername(String username); + + void updateTeacher(EasTeacher easTeacher); + + List getAll(); + + EasTeacher findTeacherByUsername(String username); + + int getTotal(); + + void addUsername(String username); + + void deleteTeacher(String username); +}