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/