提前统计房源数据
This commit is contained in:
+1
-2
@@ -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 {
|
||||
// 不超过两个,全部放入
|
||||
|
||||
Reference in New Issue
Block a user