获取产品关联模板脚本
select distinct p.short_name 基金名称,p.code 基金代码,p.shengxiaoriqi 生效日,te.trustee_name 托管人简称,p.code_name 套帐号,substr(t.name,5,8) 模板名称
from template_info t,join_template_product j,product p ,TRUSTEE te
where taxonomy_conf_id =’1’ and t.id=j.template_id and p.ids=j.product_id and p.tuo_guan_ren=te.id