|
@@ -342,7 +342,8 @@ public class SyncAppImpl implements ISyncApp {
|
|
|
|
|
|
QueryCriteria criteria = ServiceUtil.getQueryCriteria(objectMapper);
|
|
|
buildDownloadQueryCriteria(criteria, operator, bdtpDownloadTs);
|
|
|
- criteria.getCriteria().put("createApp", AdmConst.CREATOR_APP); //TODO 临时逻辑,只下载app端创建的关系
|
|
|
+ //criteria.getCriteria().put("createApp", AdmConst.CREATOR_APP); //TODO 临时逻辑,只下载app端创建的关系
|
|
|
+ criteria.getCriteria().putObject("graphCode").put("$notInSql", "'MechInArch','MechSubset','ArchSubset'"); //过滤掉大量不需要使用的关系
|
|
|
|
|
|
List<ObjectNode> rels = ServiceUtil.queryAllPage(() -> rwdClient.queryRelation(groupCode, projectId, AdmConst.APP_ID, userId, criteria), criteria, new Pagination(500));
|
|
|
/*
|