Browse Source

'bug'

master
daixiantong 4 years ago
parent
commit
88d650d118
1 changed files with 3 additions and 3 deletions
  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 View File

@@ -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…
Cancel
Save