/** 借款明细, 费用明细, 收款信息分录添加换算方式字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_ACCOUNTINFO' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_ACCOUNTINFO ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYAPPLYDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_DAILYAPPLYDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYLOANDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_DAILYLOANDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_EXPENSEDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_EXPENSEDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMEXPDET' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_PUBREIMEXPDET ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMACCINFO' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_PUBREIMACCINFO ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );