From 7e5259528037ef3a47140ea3d0d281e8fa0fa56b Mon Sep 17 00:00:00 2001 From: wans <747101512@qq.com> Date: Mon, 19 Jul 2021 15:40:55 +0800 Subject: [PATCH] =?UTF-8?q?cm.cloud=E7=89=88=E6=9C=AC=E5=8D=87=E7=BA=A71.0?= =?UTF-8?q?.1-SNAPSHOT---->1.0.2-SNAPSHOT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../userlocation/impl/UserLocationServiceImpl.java | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) 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); }