select * from pub_query_condition
where pk_templet in (select id from pub_query_templet where node_code like‘HTK103%‘)把consult_code 设置成bd_refinfo的参照名字把data_type 设置成5
NC 自定义项参照设置为查询条件
原文:https://www.cnblogs.com/lzul/p/14527726.html