lin преди 4 години
родител
ревизия
e15210e761
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/main/java/com/zoniot/ccrc/service/impl/CommunityServiceImpl.java

+ 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) {