forked from github/dataease
fix(X-Pack): 首次导入许可证同步游离资源过滤掉复制未保存的可视化资源
This commit is contained in:
parent
25f73f529d
commit
aef03272b4
@ -18,7 +18,7 @@ public interface ResourceMonitorMapper {
|
|||||||
@Select("select count(id) from core_dataset_group")
|
@Select("select count(id) from core_dataset_group")
|
||||||
int datasetCount();
|
int datasetCount();
|
||||||
|
|
||||||
@Select("select count(id) from data_visualization_info where delete_flag = 0")
|
@Select("select count(id) from data_visualization_info where delete_flag = 0 and pid != -1")
|
||||||
int vCount();
|
int vCount();
|
||||||
|
|
||||||
@Select("select id, name, pid, type, status from core_datasource")
|
@Select("select id, name, pid, type, status from core_datasource")
|
||||||
@ -27,7 +27,7 @@ public interface ResourceMonitorMapper {
|
|||||||
@Select("select id, name, pid, node_type from core_dataset_group")
|
@Select("select id, name, pid, node_type from core_dataset_group")
|
||||||
List<DatasetFreeResource> queryFreeDataset();
|
List<DatasetFreeResource> queryFreeDataset();
|
||||||
|
|
||||||
@Select("select id, name, pid, node_type, type from data_visualization_info where delete_flag = 0")
|
@Select("select id, name, pid, node_type, type from data_visualization_info where delete_flag = 0 and pid != -1")
|
||||||
List<VisualFreeResource> queryFreeVusial();
|
List<VisualFreeResource> queryFreeVusial();
|
||||||
|
|
||||||
@Delete("delete from core_datasource")
|
@Delete("delete from core_datasource")
|
||||||
|
Loading…
Reference in New Issue
Block a user