PageInfo pageInfo = new PageInfo();
String modelName = StrKit.firstCharToLowerCase(modelClass.getSimpleName());
pageInfo.setPageNumber(controller.getParaToInt("pageNumber", 1));
pageInfo.setPageSize(controller.getParaToInt("pageSize", PageInfo.DEFAULT_PAGE_SIZE));
modelNames.add(modelName);
modelAttrs.put(modelName, new Record());
for (RelationInfo relationInfo : relations) {
String tableName = TableMapping.me().getTable(relationInfo.getModel()).getName();
modelNames.add(tableName);
modelAttrs.put(StrKit.firstCharToLowerCase(relationInfo.getModel().getSimpleName()), new Record());
}
Map<String, String[]> parasMap = controller.getRequest().getParameterMap();
for (Entry<String, String[]> e : parasMap.entrySet()) {
String paraKey = e.getKey();