观察:

1、sql语句对应的入参实体类上是否添加@Data注解

MyBaits异常解决:There is no getter for property named ‘ID‘ in ‘class ***‘_java

2、sql语句对应的入参实体类中是否手动编写get 和set方法(1和2任选其一)

3、sql语句中变量名称是否拼写正确。

MyBaits异常解决:There is no getter for property named ‘ID‘ in ‘class ***‘_数据库_02