|
|
@@ -3,6 +3,7 @@ package com.usoftchina.smartschool.school.mapper;
|
|
|
import com.usoftchina.smartschool.school.po.SysTeacher;
|
|
|
import com.usoftchina.smartschool.school.po.TeacherDetail;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
@@ -22,7 +23,7 @@ public interface SysTeacherMapper {
|
|
|
|
|
|
int updateByPrimaryKey(SysTeacher record);
|
|
|
|
|
|
- List<SysTeacher> selectByConditon(String condition, Long schoolId);
|
|
|
+ List<SysTeacher> selectByConditon(@Param("con") String con, @Param("schoolId") Long schoolId);
|
|
|
|
|
|
List<TeacherDetail> selectDetail(Long id);
|
|
|
}
|