--辅助资料查询
SELECT C.FNAME,D.FDATAVALUE,B.FNUMBER,B.FENTRYID FROM T_BAS_ASSISTANTDATA A
JOIN T_BAS_ASSISTANTDATAENTRY B ON A.FID = B.FID
JOIN T_BAS_ASSISTANTDATA_L C ON A.FID =C.FID AND C.FLOCALEID = 2052
JOIN T_BAS_ASSISTANTDATAENTRY_l D ON B.FENTRYID = D.FENTRYID AND D.FLOCALEID = 2052
WHERE C.FNAME = '外贸规格型号'
--枚举列表
select * from T_meta_formenum A
JOIN T_META_FORMENUM_L B ON A.FID = B.FID AND B.FLOCALEID =2052
WHERE B.FNAME = '信用检查单据名称'
--枚举项
select * from T_META_FORMENUMITEM A
JOIN T_META_FORMENUMITEM_L B ON A.FENUMID = B.FENUMID AND B.FLOCALEID = 2052
WHERE A.FID ='e2561f97-e904-4c73-804b-704af4c5e376'