--合同台账单关联立项分录增加字段整单可用金额本位币--
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_CONTRACTPROJECT' AND KSQL_COL_NAME IN ('FPROJECTBILLCANAMOUNT'))
ALTER TABLE T_ER_CONTRACTPROJECT ADD (FPROJECTBILLCANAMOUNT DECIMAL(23,10) DEFAULT 0 NOT NULL);