Merge branch 'main' of https://git.jsspisoft.com/ry-das
This commit is contained in:
commit
b4d9a5a7ff
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user