This commit is contained in:
高云鹏 2025-01-14 17:18:23 +08:00
commit b4d9a5a7ff

View File

@ -86,7 +86,6 @@ public class DataServiceImpl implements DataService {
*/ */
@Override @Override
public Map<String, Map<String, Object>> querySnapshotValues(List<SnapshotValueQueryParam> paramList) { public Map<String, Map<String, Object>> querySnapshotValues(List<SnapshotValueQueryParam> paramList) {
long start = System.currentTimeMillis();
Map<String, Map<String, Object>> result = new HashMap<>(paramList.size()); Map<String, Map<String, Object>> result = new HashMap<>(paramList.size());
ListUtil.page(paramList, COMMIT_COUNT, list -> { ListUtil.page(paramList, COMMIT_COUNT, list -> {
List<String> keyList = new ArrayList<>(); List<String> keyList = new ArrayList<>();
@ -123,8 +122,6 @@ public class DataServiceImpl implements DataService {
} }
} }
}); });
long end = System.currentTimeMillis();
log.debug("querySnapshotValues {}个,耗时: {}秒", paramList.size(), (end - start) / 1000.0);
return result; return result;
} }