|
|
@@ -30,7 +30,9 @@ public class DynPageLoadHandler extends AbstractDynPageHandler { |
|
|
|
|
|
|
|
//列表工具类 |
|
|
|
public DynPageListHandler getListWorker(SwMap filter, PageDataset pageDataSet) { |
|
|
|
return new DynPageListHandler(pageId, filter, pageDataSet); |
|
|
|
DynPageListHandler listHandler = new DynPageListHandler(pageId, filter, pageDataSet); |
|
|
|
listHandler.init(params, us); |
|
|
|
return listHandler; |
|
|
|
} |
|
|
|
|
|
|
|
//新增操作,初始化定义的数据集 |
|
|
@@ -71,7 +73,7 @@ public class DynPageLoadHandler extends AbstractDynPageHandler { |
|
|
|
|
|
|
|
public R loadOne() { |
|
|
|
//过滤条件 |
|
|
|
SwMap filter = (SwMap) params.get("filter"); |
|
|
|
SwMap filter = params.readMap("filter"); |
|
|
|
//对应的数据集定义 |
|
|
|
PageDataset pageDataSet = readParamDs(); |
|
|
|
|
|
|
@@ -96,7 +98,7 @@ public class DynPageLoadHandler extends AbstractDynPageHandler { |
|
|
|
//数据集 |
|
|
|
PageDataset pageDataSet = readParamDs(); |
|
|
|
//过滤条件 |
|
|
|
SwMap filter = (SwMap) params.get("filter"); |
|
|
|
SwMap filter = params.readMap("filter"); |
|
|
|
|
|
|
|
return getListWorker(filter, pageDataSet).getTotal(); |
|
|
|
} |
|
|
|