学习Mybatis遇到的问题

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

posted @ 2021-04-18 16:02  ianunei1998  阅读(51)  评论(0)    收藏  举报