|
@ -602,7 +602,7 @@ public class QueryCenterService { |
|
|
deleteRequest.setRefresh(true); |
|
|
deleteRequest.setRefresh(true); |
|
|
BulkByScrollResponse response = restHighLevelClient.deleteByQuery(deleteRequest, RequestOptions.DEFAULT); |
|
|
BulkByScrollResponse response = restHighLevelClient.deleteByQuery(deleteRequest, RequestOptions.DEFAULT); |
|
|
long deletedCount = response.getDeleted(); |
|
|
long deletedCount = response.getDeleted(); |
|
|
if(!unNeedDeleteMysql.contains(index)){ |
|
|
|
|
|
|
|
|
if(!unNeedDeleteMysql.contains(index) && StrUtil.isNotEmpty(query.getCaseId())){ |
|
|
this.deleteMysqlData(index,query.getCaseId()); |
|
|
this.deleteMysqlData(index,query.getCaseId()); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|