-- 减值单增加币别字段
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_FA_ASSET_DEVALUE' AND KSQL_COL_NAME ='FCURRENCYID')
 ALTER TABLE T_FA_ASSET_DEVALUE ADD (FCURRENCYID BIGINT DEFAULT 0 NOT NULL );