After using the paging plug-in, in the query statement, there is a List collection object for loop to obtain the value. org.apache.ibatis.reflection.ReflectionException: There is no getter for property named '__frch_item_0' in
1. The getBoundSql() method in MappedStatement
2. In the DynamicSqlSource class, the called getBoundSql() method
@Override public BoundSql getBoundSql(Object parameterObject) { DynamicContext context = new DynamicContext(configuration, parameterObject); rootSqlNode.apply(context); SqlSourceBuilder sqlSourceParser = new SqlSourceBuilder(configuration); Class<?> parameterType = parameterObject == null ? Object.class : parameterObject.getClass(); SqlSource sqlSource = sqlSourceParser.parse(context.getSql(), parameterType, context.getBindings()); BoundSql boundSql = sqlSource.getBoundSql(parameterObject); for (Map.Entry<String, Object> entry : context.getBindings().entrySet()) { boundSql.setAdditionalParameter(entry.getKey(), entry.getValue()); } return boundSql; }
3、...