Mybatis_Plus Mapper层自定义方法问题
问题
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.bat.mapper.UserMapper.selectByName
描述
定义Mapper层方法,xml中完成SQL,测试类中调用报错
问题部分排除
1、接口与xml中对应正确
2、sql返回对象正确
解决方式
待解决
功能实现
在mapper层使用注解书写sql,可实现调用
xml中无法使用原因待调查 --1/26
别说差点,差点就是永远