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.
30 lines
676 B
30 lines
676 B
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<EasTeacher> findTeacherList(EasTeacher easTeacher);
|
|
|
|
List<EasTeacher> findListByUsername(String username);
|
|
|
|
EasTeacher getTeacherByUsername(String username);
|
|
|
|
void updateTeacher(EasTeacher easTeacher);
|
|
|
|
List<EasTeacher> getAll();
|
|
|
|
EasTeacher findTeacherByUsername(String username);
|
|
|
|
int getTotal();
|
|
|
|
void addUsername(String username);
|
|
|
|
void deleteTeacher(String username);
|
|
}
|