--预付单关联合同分录增加字段退款金额、退款金额本位币--
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYCONTRACT' AND KSQL_COL_NAME IN ('FORICONREPAYAMOUNT'))
ALTER TABLE T_ER_PREPAYCONTRACT ADD (FORICONREPAYAMOUNT DECIMAL(23,10) DEFAULT 0 NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYCONTRACT' AND KSQL_COL_NAME IN ('FCONREPAYAMOUNT'))
ALTER TABLE T_ER_PREPAYCONTRACT ADD (FCONREPAYAMOUNT DECIMAL(23,10) DEFAULT 0 NOT NULL );
