jeesite icon indicating copy to clipboard operation
jeesite copied to clipboard

SQLHelper.java 121-126行存在BUG

Open 0xleizhang opened this issue 7 years ago • 0 comments

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

0xleizhang avatar Sep 08 '17 01:09 0xleizhang