String str = "select * from wage_basic_item bi where bi.id=@id";
Sql sql = Sqls.create(str);
sql.setParam("id", id);
sql.setCallback(Sqls.callback.records());
dao().execute(sql);
Record record = sql.getObject(Record.class);
wage_basic_item 是一个动态表,列不固定,没有对应的实体类。要是用list接收是没问题的,但是想直接拿到单个Record对象应该怎么做?