学习Mybatis遇到的问题
1. Parameter 'phone' not found. Available parameters are [arg1, arg0, param1, param2]
原因 : 传入多个参数时 , 需要使用@Param注解修饰
解决 : User selectUser(@Param("phone") String phone, @Param("psw") String psw);
1. Parameter 'phone' not found. Available parameters are [arg1, arg0, param1, param2]
原因 : 传入多个参数时 , 需要使用@Param注解修饰
解决 : User selectUser(@Param("phone") String phone, @Param("psw") String psw);