Commit bb8da4b8 authored by 赵啸非's avatar 赵啸非

添加区域点击

parent d8bf959c
......@@ -198,7 +198,7 @@ public class SitestatServiceImpl extends AbstractCRUDServiceImpl<SitestatDao, Si
SitePdu sitePdu = new SitePdu();
sitePdu.setAreaCodeList(Arrays.asList(entity.getAreaCode()));
Rest<List<SitePdu>> result = siteFeign.getFlatSitesBySiteId(sitePdu);
// log.info("siteList:{}",JSON.toJSONString(result));
log.info("areaSiteList:{}",JSON.toJSONString(result));
if (result.getCode() == YesNoEnum.YES.getValue()) {
//根据返回的id 筛选列表
Map<Long, SitestatEntity> collectMap = this.find(new SitestatEntity(), context).stream().collect(Collectors.toMap(x->x.getSiteId(),y->y,(o,n)->n));
......
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