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

This commit is contained in:
wangyu 2022-09-27 11:00:43 +08:00
parent 659bbee81d
commit 52d4a9062d

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());
}
/**