jeesite
jeesite copied to clipboard
SQLHelper.java 121-126行存在BUG
这里只对BoundSql的metaParameters设值了 但并没有对additionalParameters设值
在SQLHelper67行处理foreach的时候,__frch开头的属性boundSql.hasAdditionalParameter(prop.getName()) 将会是false.
于是通过反射取值
else { value = metaObject == null ? null : metaObject.getValue(propertyName); }
然后便会报org.apache.ibatis.reflection.ReflectionException