| | |
| | | //package com.consum.base.util; |
| | | // |
| | | //import com.consum.model.po.FinSysTenant; |
| | | //import com.walker.infrastructure.tree.TreeNode; |
| | | // |
| | | //import java.util.List; |
| | | // |
| | | ///** |
| | | // * @Description 区划节点 |
| | | // * @Author wh |
| | | // * @Date 2023/7/11 11:26 |
| | | // */ |
| | | //public class FinSysTenantUtils { |
| | | // |
| | | // public FinSysTenantUtils() { |
| | | // } |
| | | // |
| | | // public static final List<TreeNode> getFinSysTenantTree(List<FinSysTenant> finSysTenantList) { |
| | | // FinSysTenantGenerator finSysTenantGenerator = new FinSysTenantGenerator((String)null); |
| | | // finSysTenantGenerator.setEntityList(finSysTenantList); |
| | | // List<TreeNode> treeNodeList = finSysTenantGenerator.getTreeRootList(); |
| | | // return treeNodeList; |
| | | // } |
| | | // |
| | | // |
| | | //} |
| | | package com.consum.base.util; |
| | | |
| | | 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 区划节点 |
| | | * @Author wh |
| | | * @Date 2023/7/11 11:26 |
| | | */ |
| | | public class FinSysTenantUtils { |
| | | |
| | | public FinSysTenantUtils() { |
| | | } |
| | | |
| | | public static final List<TreeNode> getFinSysTenantTree(List<FinSysTenant> finSysTenantList) { |
| | | FinSysTenantGenerator finSysTenantGenerator = new FinSysTenantGenerator((String)null); |
| | | finSysTenantGenerator.setEntityList(finSysTenantList); |
| | | List<TreeNode> treeNodeList = finSysTenantGenerator.getTreeRootList(); |
| | | return treeNodeList; |
| | | } |
| | | |
| | | public static final List<TreeNode> getFinSysTenantTreeTow(List<FinSysTenantRegion> finSysTenantList) { |
| | | FinSysTenantGeneratorTow finSysTenantGenerator = new FinSysTenantGeneratorTow((String)null); |
| | | finSysTenantGenerator.setEntityList(finSysTenantList); |
| | | List<TreeNode> treeNodeList = finSysTenantGenerator.getTreeRootList(); |
| | | return treeNodeList; |
| | | } |
| | | } |