标签:多类别
1 增加控件:多类别基础资料、多类别基础资料列表;
2 设置属性参数;
3 然后在数据库中新建两个视图:v_Fjczlbill、v_Fjczlbill_L
4 两个试图的sql语句分别为:
v_Fjczlbill:
SELECT FID fitemid, 'MMC_IntegralRule' fformid, FNUMBER fnumber, FID fmasterid, 0 fcreateorgid, 0 fuseorgid,
FDOCUMENTSTATUS fdocumentstatus, FFORBIDSTATUS fforbidstatus, FCREATORID fcreatorid,
FMODIFIERID fmodifierid, FCREATEDATE fcreatedate, FMODIFYDATE fmodifydate
FROM T_MMC_INTEGRALRULE
UNION
SELECT FID fitemid, 'MMC_IntegralEcgRule' fformid, FNUMBER fnumber, FID fmasterid, 0 fcreateorgid, 0 fuseorgid,
FDOCUMENTSTATUS fdocumentstatus, FFORBIDSTATUS fforbidstatus, FCREATORID fcreatorid,
FMODIFIERID fmodifierid, FCREATEDATE fcreatedate, FMODIFYDATE fmodifydate
FROM T_MMC_INTEGRALECGRULE
v_Fjczlbill_L:
SELECT FPKID, FID fitemid, FLOCALEID, FNAME fname, ' ' fdescription
FROM T_MMC_INTEGRALRULE_L
UNION
SELECT FPKID, FID fitemid, FLOCALEID, FNAME fname, ' ' fdescription
FROM T_MMC_INTEGRALECGRULE_L
标签:多类别
原文地址:http://blog.51cto.com/yataigp/2087383