forked from github/dataease
fix: 首次上传license同步社区版资源包含已删除的业务资源
This commit is contained in:
parent
f9e2a0293c
commit
31070a372d
@ -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")
|
@Select("select count(id) from data_visualization_info where delete_flag = 0")
|
||||||
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")
|
@Select("select id, name, pid, node_type, type from data_visualization_info where delete_flag = 0")
|
||||||
List<VisualFreeResource> queryFreeVusial();
|
List<VisualFreeResource> queryFreeVusial();
|
||||||
|
|
||||||
@Delete("delete from core_datasource")
|
@Delete("delete from core_datasource")
|
||||||
|
Loading…
Reference in New Issue
Block a user