Quellcode durchsuchen

小区区域过滤

lin vor 4 Jahren
Ursprung
Commit
e15210e761

+ 1 - 1
src/main/java/com/zoniot/ccrc/service/impl/CommunityServiceImpl.java

@@ -218,7 +218,7 @@ public class CommunityServiceImpl implements CommunityService {
         List<BuildingSelectDto> buildingSelectDtoArrayList = newArrayList();
 
         List<CommunityDto> communityList =newArrayList();
-        communityList = communityMapper.findByCustomerId(loginUser.getCustomerId());
+        communityList = communityMapper.findBySiteId(loginUser.getSiteId(),null);
 
 
         if (communityList != null && communityList.size() > 0) {