|
|
@@ -57,8 +57,11 @@ public class DynPageListHandler extends AbstractListHandler { |
|
|
|
} else { |
|
|
|
list = DbEngine.getInstance().queryN(sql, sp.mapParas, SwMap.class); |
|
|
|
} |
|
|
|
ModelTable masterTable = ModelTableCache.getInstance().get(pageDataSet.masterTable); |
|
|
|
EntityHelper.loadBeanLink(masterTable.getName(), list, sp.mapFieldAlias); |
|
|
|
if(pageDataSet.masterTable != 0 && pageDataSet.masterTable != -1){ |
|
|
|
ModelTable masterTable = ModelTableCache.getInstance().get(pageDataSet.masterTable); |
|
|
|
EntityHelper.loadBeanLink(masterTable.getName(), list, sp.mapFieldAlias); |
|
|
|
} |
|
|
|
|
|
|
|
for (SwMap map: list) { |
|
|
|
DynPageHelper.setCalcFields(map, pageDataSet); |
|
|
|
} |
|
|
|