diff --git a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java index d3856978..b68710d9 100644 --- a/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java +++ b/renren-admin/src/main/java/io/renren/modules/resource/service/impl/ResourceServiceImpl.java @@ -2949,7 +2949,7 @@ public class ResourceServiceImpl extends CrudServiceImpl lcSelectCensusApplyTable(Map params) { - if (params.get("region") != null && !"250000".equals(params.get("region").toString())) { + if (params.containsKey("region") && params.get("region") != null && !"250000".equals(params.get("region").toString())) { logger.error("非市级单位无法查浪潮数据"); return new ArrayList<>(); }