|
@ -149,7 +149,7 @@ public class ElasticSearchDataProcessService {
|
|
//一个表只能对应到一个 索引type
|
|
//一个表只能对应到一个 索引type
|
|
Cube cube = cubeMemberMappingService.findCubeByTableCode(table);
|
|
Cube cube = cubeMemberMappingService.findCubeByTableCode(table);
|
|
if(cube != null){
|
|
if(cube != null){
|
|
elasticSearchUtil.delete(cube.getIndexType(),cube.getIndexType(),rowKey);
|
|
|
|
|
|
elasticSearchUtil.delete(cube.getIndexName(),cube.getIndexType(),rowKey);
|
|
}else {
|
|
}else {
|
|
throw new Exception("视图,表不存在");
|
|
throw new Exception("视图,表不存在");
|
|
}
|
|
}
|