|
|
@@ -48,6 +48,12 @@ public class DynPageTreeHandler extends AbstractTreeHandler<SwMap> { |
|
|
|
return DbEngine.getInstance().queryN(sqlPara.sql, sqlPara.mapParas, SwMap.class); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<SwMap> buildData() { |
|
|
|
List<SwMap> rows = getChildren(filter.readLong("parent_id")); |
|
|
|
return buildNodes(rows, filter.readBool("lazy")); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 构建sql |
|
|
|
* @return |
|
|
|