fix: Es无限刷日志BUG

This commit is contained in:
2024-04-24 17:35:52 +08:00
parent 2f8f7e9ada
commit d66119c560
@@ -1346,7 +1346,7 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
List<String> listIdsSub = listIds.subList(startIndex, endIndex);
List<LawsEnterpriseStandard> listLawsEnterpriseStandard = lawsEnterpriseStandardService.listByIds(listIdsSub);
if(CollectionUtils.isEmpty(listLawsEnterpriseStandard)){
continue;
break;
}
for (LawsEnterpriseStandard lawsEnterpriseStandard : listLawsEnterpriseStandard) {
try {