| | |
| | | package com.consum.base.core.utils; |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.consum.base.support.FinSysTenantGenerator; |
| | | import com.consum.base.support.FinSysTenantGeneratorTow; |
| | | import com.consum.model.po.FinSysTenant; |
| | | import com.consum.model.po.FinSysTenantRegion; |
| | | import com.walker.infrastructure.tree.TreeNode; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @Description 区划节点 |
| | |
| | | */ |
| | | public class FinSysTenantUtils { |
| | | |
| | | public FinSysTenantUtils() { |
| | | } |
| | | public FinSysTenantUtils() {} |
| | | |
| | | public static List<TreeNode> getFinSysTenantTree(List<FinSysTenant> finSysTenantList) { |
| | | public static List<TreeNode> getFinSysTenantTree(List<FinSysTenant> finSysTenantList) { |
| | | FinSysTenantGenerator finSysTenantGenerator = new FinSysTenantGenerator((String)null); |
| | | finSysTenantGenerator.setEntityList(finSysTenantList); |
| | | List<TreeNode> treeNodeList = finSysTenantGenerator.getTreeRootList(); |