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<String> listIdsSub = listIds.subList(startIndex, endIndex);
|
||||||
List<LawsDomesticStandard> listLawsDomesticStandard = lawsDomesticStandardService.listByIds(listIdsSub);
|
List<LawsDomesticStandard> listLawsDomesticStandard = lawsDomesticStandardService.listByIds(listIdsSub);
|
||||||
if(CollectionUtils.isEmpty(listLawsDomesticStandard)){
|
if(CollectionUtils.isEmpty(listLawsDomesticStandard)){
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
for (LawsDomesticStandard lawsDomesticStandard : listLawsDomesticStandard) {
|
for (LawsDomesticStandard lawsDomesticStandard : listLawsDomesticStandard) {
|
||||||
createData(resourceType, opType, lawsDomesticStandard);
|
createData(resourceType, opType, lawsDomesticStandard);
|
||||||
@@ -1262,7 +1262,7 @@ public class LawsHomeSearchServiceImpl implements ILawsHomeSearchService {
|
|||||||
List<String> listIdsSub = listIds.subList(startIndex, endIndex);
|
List<String> listIdsSub = listIds.subList(startIndex, endIndex);
|
||||||
List<LawsOverseasStandard> listLawsOverseasStandard = lawsOverseasStandardService.listByIds(listIdsSub);
|
List<LawsOverseasStandard> listLawsOverseasStandard = lawsOverseasStandardService.listByIds(listIdsSub);
|
||||||
if(CollectionUtils.isEmpty(listLawsOverseasStandard)){
|
if(CollectionUtils.isEmpty(listLawsOverseasStandard)){
|
||||||
continue;
|
break;
|
||||||
}
|
}
|
||||||
for (LawsOverseasStandard lawsOverseasStandard : listLawsOverseasStandard) {
|
for (LawsOverseasStandard lawsOverseasStandard : listLawsOverseasStandard) {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user