From 4fcf860189a689d5a0ba6a85965b6cca802f687a Mon Sep 17 00:00:00 2001 From: wenc000 <450292408@qq.com> Date: Mon, 26 Oct 2020 17:02:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=8D=A2maven=E7=A7=81=E6=9C=8D?= =?UTF-8?q?=EF=BC=8C=E5=A4=84=E7=90=86=E5=8F=91=E7=8E=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/cm/plugin/map/service/impl/GridServiceImpl.java | 2 +- pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud-common-plugin-map/src/main/java/com/cm/plugin/map/service/impl/GridServiceImpl.java b/cloud-common-plugin-map/src/main/java/com/cm/plugin/map/service/impl/GridServiceImpl.java index 82f1b12..0448219 100644 --- a/cloud-common-plugin-map/src/main/java/com/cm/plugin/map/service/impl/GridServiceImpl.java +++ b/cloud-common-plugin-map/src/main/java/com/cm/plugin/map/service/impl/GridServiceImpl.java @@ -97,7 +97,7 @@ public class GridServiceImpl extends AbstractService implements IGridService { @Override public List listGridByRelationIds(List relationIds) throws SearchException { - if (relationIds == null && relationIds.size() == 0) { + if (relationIds == null || relationIds.size() == 0) { return new ArrayList<>(); } List gridDTOs = gridDao.listGridByRelationIds(relationIds); diff --git a/pom.xml b/pom.xml index 9f95232..38bb0bb 100644 --- a/pom.xml +++ b/pom.xml @@ -438,11 +438,11 @@ maven-releases - http://124.67.110.245:8888/repository/maven-releases/ + http://121.36.71.250:8888/repository/maven-releases/ maven-snapshots - http://124.67.110.245:8888/repository/maven-snapshots/ + http://121.36.71.250:8888/repository/maven-snapshots/