Commit 5efb5820 authored by 赵啸非's avatar 赵啸非

添加宜宾环境

parent 9806abdc
...@@ -328,7 +328,7 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE ...@@ -328,7 +328,7 @@ public class SiteServiceImpl extends AbstractCRUDCacheServiceImpl<SiteDao, SiteE
throw new AppException("区域名称查询参数不能为空!"); throw new AppException("区域名称查询参数不能为空!");
} }
//SiteEntity siteCache = this.getCache(query.getId().toString()); //SiteEntity siteCache = this.getCache(query.getId().toString());
AreaEntity areaEntity = areaService.getCache(query.getAreaName()); AreaEntity areaEntity = areaService.selectOne(new AreaQuery().name(query.getAreaName()),context);
if(ObjectUtils.isEmpty(areaEntity)){ if(ObjectUtils.isEmpty(areaEntity)){
throw new AppException("区域名称不存在!"); throw new AppException("区域名称不存在!");
} }
......
...@@ -89,7 +89,7 @@ POST {{baseUrl}}/site/getAreaSitesBySite ...@@ -89,7 +89,7 @@ POST {{baseUrl}}/site/getAreaSitesBySite
Content-Type: application/json Content-Type: application/json
{ {
"id":7 "areaName":"宜宾市"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment