feat: 升级0.0.4,完成objectMapper优化,查询优化

This commit is contained in:
wangyu 2022-09-27 11:00:43 +08:00
parent 659bbee81d
commit 52d4a9062d
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public class JdbcTemplateFluentSQLOperations implements FluentSQLOperations {
if (ClassUtils.isPrimitiveOrWrapper(clazz)) {
return jdbcOperations.queryForList(sql, clazz, entity.getParameters());
}
return jdbcOperations.query(entity.getSql(), new SQLMappedRowMapper<>(clazz), entity.getParameters());
return jdbcOperations.query(sql, new SQLMappedRowMapper<>(clazz), entity.getParameters());
}
/**