/**还款单 还款明细, 收款信息分录添加换算方式字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REPAYRECENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REPAYRECENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REPAYMENTENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REPAYMENTENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_RECENTRYDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_RECENTRYDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REPAYMENTENTRY' AND KSQL_COL_NAME ='FSRCQUOTETYPE') 
 ALTER TABLE T_ER_REPAYMENTENTRY ADD (FSRCQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );