소스 검색

小区区域过滤

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