Merge branch 'develop_migration' into 'develop_master'

feat: There is no way the, HHH

See merge request LiuChao/foton-slrs-system-rest!412
This commit is contained in:
super_liu
2022-03-07 17:46:00 +08:00
@@ -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())){