Commit 61255652 authored by Quxl's avatar Quxl

x

parent 228c5b52
...@@ -389,7 +389,7 @@ public class JdbcTemplate extends org.springframework.jdbc.core.JdbcTemplate { ...@@ -389,7 +389,7 @@ public class JdbcTemplate extends org.springframework.jdbc.core.JdbcTemplate {
return this.queryForBeans(iSql.getSql(), type, iSql.getArgs()); return this.queryForBeans(iSql.getSql(), type, iSql.getArgs());
} }
public <T> List<T> queryForBeansByField(T obj, String... byFields) { public <T> List<T> queryForBeansByField(T obj, String[] byFields) {
@SuppressWarnings("unchecked") @SuppressWarnings("unchecked")
Class<T> type = (Class<T>) obj.getClass(); Class<T> type = (Class<T>) obj.getClass();
Desc desc = dialect.getDesc(type); Desc desc = dialect.getDesc(type);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment