parent
197f262617
commit
c93a694283
@ -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<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);
|
||||
}
|
Loading…
Reference in new issue