|
|
@@ -56,8 +56,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); |
|
|
|
} |
|
|
|
|
|
|
|
return list; |
|
|
|
} |
|
|
|
|
|
|
|