src/main/java/com/whyc/service/AreaInfService.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/java/com/whyc/service/AreaInfService.java
@@ -56,6 +56,12 @@ areaList.addAll(list1); } } if (urole==2) { List<AreaInf> allList=mapper.selectList(null); List<Integer> idList=allList.stream().map(AreaInf::getId) .collect(Collectors.toList()); areaList.addAll(idList); } return areaList; }