fix(2227-syncResource): 增加异步处理
This commit is contained in:
parent
f28fb8229d
commit
93483471c9
@ -84,6 +84,7 @@ public class FeatureResourceSyncServiceImpl implements FeatureResourceSyncServic
|
||||
|
||||
private void doSyncFromBase(ResourceSyncReq req) {
|
||||
//TODO:@Zhan 并发处理;同一个parent下同批查询
|
||||
//处理数据缓存:避免同级节点上级重复处理 - 上级code查询
|
||||
final Map<Long, String> codeCache = new ConcurrentHashMap<>();
|
||||
|
||||
for (Long id : req.getIds()) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user