Commit 290f491e authored by yanzg's avatar yanzg

消除成功接收处理

parent b1129b69
......@@ -226,10 +226,10 @@ public abstract class BaseDaoSql {
* @param <T> 返回数据类型
*/
protected <T extends Object> void queryData(Class<T> cls, DbRow<T> handle, SqlData sqlData, Object model) {
List<Object> paras = new ArrayList<Object>();
List<Object> paras = new ArrayList<>();
String sql = this.getQueryPara(paras, sqlData, model);
// 查询数据
db.query(this.getClass(), cls, handle, sqlData.getName(), sql, paras);
db.query(this.getClass(), cls, handle, sqlData.getName(), sql, paras.toArray());
}
/**
......
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