--采购转固单增加汇率表字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_PURCHASEBILL' AND KSQL_COL_NAME ='FEXCHANGETABLEID') 
 ALTER TABLE T_FA_PURCHASEBILL ADD (FEXCHANGETABLEID BIGINT DEFAULT 0 NOT NULL );