报错:Parameter 'manage_com_6' not found. Available parameters are [arg3, arg2, arg1, arg0, param3, param4, param1, param2]
这种错误是因为当有多个参数时必须在Dao层中加入@Param参数,否则可能会一直报找不到这个参数:
List<TeacherListDto> queryTeacherList(@Param("manage_com_6")String manage_com_6, @Param("teacher_grade")String teacher_grade);
这样就不会报错了!