Commit ff6564b4 by 吴佳

dbReadset 分页单表查询总条数调整

parent b784732d
......@@ -354,6 +354,9 @@ public class MyBatisDaoSession extends AbstractDaoSession implements IDaoSession
for (IModuleList iModule : lists) {
List<T> result = this.dyncRead(iModule.getDataClass(), adapter);
iModule.addAll(result);
PageInfo<T> pageInfo = new PageInfo<T>(result);
long total = pageInfo.getTotal();
baseVO.setTotal(total);
}
}
if (cacheOption != null) {
......
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