瀏覽代碼

小区区域过滤

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