1 增加控件:多类别基础资料、多类别基础资料列表;
2 设置属性参数;
3 然后在数据库中新建两个视图:v_Fjczlbill、v_Fjczlbill_L
4 两个试图的sql语句分别为:
v_Fjczlbill:
CREATE VIEW v_Fjczlbill AS
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:
CREATE VIEW v_Fjczlbill_L AS
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
注:如有开发k3cloud需求,电话联系:15032213342