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); }