diff --git a/pom.xml b/pom.xml index c345ba1..1e32058 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 2.3.28 1.1.9 1.4.3.3 - 1.0.1-SNAPSHOT + 1.0.2-SNAPSHOT diff --git a/src/main/java/com/cm/systemcity/service/userlocation/impl/UserLocationServiceImpl.java b/src/main/java/com/cm/systemcity/service/userlocation/impl/UserLocationServiceImpl.java index 7c2d81b..64427bc 100755 --- a/src/main/java/com/cm/systemcity/service/userlocation/impl/UserLocationServiceImpl.java +++ b/src/main/java/com/cm/systemcity/service/userlocation/impl/UserLocationServiceImpl.java @@ -720,12 +720,11 @@ public class UserLocationServiceImpl extends BaseService implements IUserLocatio Map queryMap = new HashMap<>(4); queryMap.put("communityBossUserId",userId); CommunityBossDTO communityBoss = communityBossService.getCommunityBoss(queryMap); - if(communityBoss == null){ - return new ArrayList<>(); - } List userIdList = new ArrayList<>(); - // userIdList.add(userId); - userIdList.add(communityBoss.getCommunityBossId()); + if(communityBoss != null){ + userIdList.add(communityBoss.getCommunityBossId()); + } + userIdList.add(userId); return userPointsService.listUserPointsByGridService(userIdList); }