You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
534 B
14 lines
534 B
#namespace("DataShare")
|
|
#sql("listSystem")
|
|
select t1.*,
|
|
(select count(1) from t_datashare_table as t2 where t2.system_id=t1.system_id) as share_table_count,
|
|
array_length(string_to_array(t1.url, ','), 1) as subscribe_system_count
|
|
from t_datashare_system as t1 where
|
|
t1.system_name like #para(keyword, "like")
|
|
#if(exclude)
|
|
and t1.system_id<>#para(exclude)
|
|
#end
|
|
order by t1.sort_id,t1.system_id desc
|
|
#end
|
|
#end
|