fix: Es无限刷日志BUG

This commit is contained in:
2024-04-25 09:05:25 +08:00
parent 770ffa6571
commit 59d38a6aab
@@ -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 {