|
|
@@ -263,7 +263,11 @@ public class WxBusinessServiceImpl implements WxBusinessService { |
|
|
if (null == business.getParentId() || business.getParentId() == 0) { |
|
|
if (null == business.getParentId() || business.getParentId() == 0) { |
|
|
roots.add(business); |
|
|
roots.add(business); |
|
|
}else { |
|
|
}else { |
|
|
childMap.get(business.getParentId()).add(business); |
|
|
|
|
|
|
|
|
List<WxBusiness> clist = childMap.get(business.getParentId()); |
|
|
|
|
|
if (null == clist) { |
|
|
|
|
|
clist = new ArrayList<WxBusiness>(); |
|
|
|
|
|
} |
|
|
|
|
|
clist.add(business); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
if (roots.size() > 0 ) { |
|
|
if (roots.size() > 0 ) { |
|
|
|