feat: 升级0.0.4,完成objectMapper优化,查询优化
This commit is contained in:
parent
659bbee81d
commit
52d4a9062d
@ -64,7 +64,7 @@ public class JdbcTemplateFluentSQLOperations implements FluentSQLOperations {
|
|||||||
if (ClassUtils.isPrimitiveOrWrapper(clazz)) {
|
if (ClassUtils.isPrimitiveOrWrapper(clazz)) {
|
||||||
return jdbcOperations.queryForList(sql, clazz, entity.getParameters());
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user