fix: ES更新国标外标无限刷日志
This commit is contained in:
+2
-2
@@ -1150,7 +1150,7 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
|
||||
List<String> listIdsSub = listIds.subList(startIndex, endIndex);
|
||||
List<LawsDomesticStandard> listLawsDomesticStandard = lawsDomesticStandardService.listByIds(listIdsSub);
|
||||
if(CollectionUtils.isEmpty(listLawsDomesticStandard)){
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
for (LawsDomesticStandard lawsDomesticStandard : listLawsDomesticStandard) {
|
||||
createData(resourceType, opType, lawsDomesticStandard);
|
||||
@@ -1262,7 +1262,7 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
|
||||
List<String> listIdsSub = listIds.subList(startIndex, endIndex);
|
||||
List<LawsOverseasStandard> listLawsOverseasStandard = lawsOverseasStandardService.listByIds(listIdsSub);
|
||||
if(CollectionUtils.isEmpty(listLawsOverseasStandard)){
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
for (LawsOverseasStandard lawsOverseasStandard : listLawsOverseasStandard) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user