org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘字段’ in ‘class com.nihao.dajiahao.Test’
这个错误是你的mybatis配置文件中的字段名称没有对应上。例如:
我这里if标签里,之前是 ISAUDIT 这个字段。修改如图正确了。
org.apache.ibatis.reflection.ReflectionException: There is no getter for property named ‘字段’ in ‘class com.nihao.dajiahao.Test’
这个错误是你的mybatis配置文件中的字段名称没有对应上。例如:
我这里if标签里,之前是 ISAUDIT 这个字段。修改如图正确了。