feat: There is no way the, HHH

This commit is contained in:
super_liu
2022-03-07 17:45:03 +08:00
parent 69c2d4c6e2
commit 7e2f0ffe85
@@ -66,6 +66,10 @@ public class ResetSearchCenterService {
@Async
public ResponseMessage resetALLSearchCenter() throws Exception{
Boolean getFulltextserchIndex = elasticsearchService.isIndexExist("fulltextserch");
if(getFulltextserchIndex){
Boolean deleteFulltextserchIndex = elasticsearchService.deleteIndex("fulltextserch");
}
ResponseMessage stand = resetStandSearchCenter(new SarStandardsInfoEOPage());
List<String> r = new ArrayList<>();
if(stand.isOk() && StringUtils.isNotBlank(stand.getData().toString())){