Explorar el Código

Merge branch 'release_toaliyun_real' of https://git.malls.iformall.com/server/formallProject into release_toaliyun_real

release_toaliyun_real
xhxu hace 3 años
padre
commit
3991ea3475
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxBusinessServiceImpl.java

+ 5
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxBusinessServiceImpl.java Ver fichero

@@ -263,7 +263,11 @@ public class WxBusinessServiceImpl implements WxBusinessService {
if (null == business.getParentId() || business.getParentId() == 0) {
roots.add(business);
}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 ) {


Cargando…
Cancelar
Guardar