npe
This commit is contained in:
parent
77a3bd0f58
commit
ffb0009a44
|
@ -2949,7 +2949,7 @@ public class ResourceServiceImpl extends CrudServiceImpl<ResourceDao, ResourceEn
|
||||||
|
|
||||||
private List<Map> lcSelectCensusApplyTable(Map params) {
|
private List<Map> 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("非市级单位无法查浪潮数据");
|
logger.error("非市级单位无法查浪潮数据");
|
||||||
return new ArrayList<>();
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue