提前统计房源数据

This commit is contained in:
mjt
2023-12-26 15:48:04 +08:00
parent 991900e4e7
commit 5a7b65c704
17 changed files with 158 additions and 33 deletions
@@ -467,8 +467,7 @@ public class CzbankSampleServiceImpl implements CzbankSampleService {
//将数据放入样本仓库
for (Map.Entry<String, List<SampleWrapper>> entry : map.entrySet()) {
//超过两个,只取两个
// 取三个
if (entry.getValue().size()>=3){
if (entry.getValue().size()>=2){
querySamples.addAll(entry.getValue().subList(0,2));
}else {
// 不超过两个,全部放入