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

添加刷新接入站点

parent 30337ac9
...@@ -105,6 +105,16 @@ public class AccessServiceImpl extends AbstractCRUDServiceImpl<AccessDao, Access ...@@ -105,6 +105,16 @@ public class AccessServiceImpl extends AbstractCRUDServiceImpl<AccessDao, Access
item.setUpdateTime(new Date()); item.setUpdateTime(new Date());
}).count(); }).count();
accessSystemService.save(entity.getAccessSystemList()); accessSystemService.save(entity.getAccessSystemList());
Runnable runnable = new Runnable() {
@Override
public void run() {
List<SitePdu> statSiteList = accessService.getStatSiteList();
int total = statSiteList.size();
cacheService.set(RedisKey.KEY_SITE_STAT_COUNT_CHCHE, total);
}
};
ThreadPool.getInstance().execute(runnable);
} }
super.updateAfter(entity, context); super.updateAfter(entity, context);
} }
......
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