37 lines
1.5 KiB
SQL
37 lines
1.5 KiB
SQL
create view vi_contractmakeprintlist as SELECT PI.ID AS ID,
|
|
LDC.DOC_NAME AS DOCNAME,
|
|
LDC.CUSTOMERNAME AS CUSTOMERNAME,
|
|
LDC.LIBRARY_ID AS LIBID,
|
|
PI.PRODUCT_ID AS PRODUCTID,
|
|
PI.PROJECT_STATUS AS STATUS,
|
|
LDC.ATTRIBUTE_ID AS ATTRIBUTE_ID,
|
|
LDC.TELEPHONE AS TELEPHONE,
|
|
LDC.SIGN_TYPE AS SIGN_TYPE,
|
|
LDC.SENDPROCESS AS SENDPROCESS,
|
|
LDC.FLOW_UNID AS FLOWUNID
|
|
FROM (APZL.LB_DOC_CONTRACT_LIST LDC
|
|
LEFT JOIN APZL.LB_PROJECT_INFO PI ON (((convert(LDC.PROJECT_ID USING UTF8) = PI.ID) AND (LDC.FILE_FLAG = 'yes'))));
|
|
|
|
-- comment on column vi_contractmakeprintlist.id not supported: 标识
|
|
|
|
-- comment on column vi_contractmakeprintlist.docname not supported: 资料名称
|
|
|
|
-- comment on column vi_contractmakeprintlist.customername not supported: 客户名称
|
|
|
|
-- comment on column vi_contractmakeprintlist.libid not supported: 资料清单标识
|
|
|
|
-- comment on column vi_contractmakeprintlist.productid not supported: 产品ID
|
|
|
|
-- comment on column vi_contractmakeprintlist.STATUS not supported: 项目状态
|
|
|
|
-- comment on column vi_contractmakeprintlist.ATTRIBUTE_ID not supported: 附件明细表标识
|
|
|
|
-- comment on column vi_contractmakeprintlist.telephone not supported: 电话号码
|
|
|
|
-- comment on column vi_contractmakeprintlist.sign_type not supported: 签约状态
|
|
|
|
-- comment on column vi_contractmakeprintlist.sendprocess not supported: 契约锁发送过程
|
|
|
|
-- comment on column vi_contractmakeprintlist.flowunid not supported: 流程id
|
|
|