在使用IService 中的getOne函数用来,前端传参的openid与数据库中比对时,出现如下报错 org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.ysyj.business.Service.IWxUserInfoService.getOne
```java
JSONObject jsonObject = JSON.parseObject(result);
String openid = jsonObject.get("openid").toString();
System.out.println(openid);
WxUserInfo resultWxUserInfo = wxUserInfoService.getOne(new QueryWrapper<WxUserInfo>().eq("openid",openid),false);
```
你xml文件中定义的查询方法跟你dao层中定义的方法名不一致,导致找不到对应的dao就会报错;要么就是你mapper层没有加mapper注解