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…
Отказ
Запис