-- PRJ-00545695 租赁参与对账-租赁合同字段携带到财务卡片功能
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CARD_FIN' AND KSQL_COL_NAME ='FLEASEDEBTPRESENT')
 ALTER TABLE T_FA_CARD_FIN ADD (FLEASEDEBTPRESENT DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CARD_FIN' AND KSQL_COL_NAME ='FNOCONFIRMFINANCOST')
 ALTER TABLE T_FA_CARD_FIN ADD (FNOCONFIRMFINANCOST DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_CARD_FIN' AND KSQL_COL_NAME ='FLEASEDEBTORIGIN')
 ALTER TABLE T_FA_CARD_FIN ADD (FLEASEDEBTORIGIN DECIMAL(23,10) DEFAULT 0 NOT NULL );
