daixiantong пре 4 година
родитељ
комит
88d650d118
1 измењених фајлова са 3 додато и 3 уклоњено
  1. +3
    -3
      src/main/java/com/taauav/admin/service/impl/LsAdminServiceImpl.java

+ 3
- 3
src/main/java/com/taauav/admin/service/impl/LsAdminServiceImpl.java Прегледај датотеку

@@ -381,7 +381,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin>
if (!areaList.contains(areaInfo) && areaInfo.getLevel() < 5) {
areaList.add(areaInfo);
cityVoList.add(countQuestion(areaInfo, map));
} else if (areaInfo.getLevel() > 4) {
} else if (areaInfo.getLevel() >= 4) {
cityVoList = getCityParentList(adminInfo.getDriverArea(), cityVoList);
}
} else if (auth.getAuthData().equals(2)) {
@@ -390,7 +390,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin>
if (!areaList.contains(areaInfo) && areaInfo.getLevel() < 5) {
areaList.add(areaInfo);
cityVoList.add(countQuestion(areaInfo, map));
} else if (areaInfo.getLevel() > 4) {
} else if (areaInfo.getLevel() >= 4) {
cityVoList = getCityParentList(adminInfo.getDriverArea(), cityVoList);
}
//用户子级区划
@@ -424,7 +424,7 @@ public class LsAdminServiceImpl extends BaseServiceImpl<LsAdminMapper, LsAdmin>
cityVoList.remove(cityVo);
}
cityVoList.add(countQuestion(areaInfo, map));
} else if (areaInfo.getLevel() > 4) {
} else if (areaInfo.getLevel() >= 4) {
cityVoList = getCityParentList(areaId, cityVoList);
}
}

Loading…
Откажи
Сачувај