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.

13 lines
448 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
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