/**   费用报销单、对公报销单、差旅报销单摊销明细分录添加换算方式字段  **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_DAILYRESHAREDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_DAILYRESHAREDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBLICRESHAREDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_PUBLICRESHAREDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRIPRESHAREDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_TRIPRESHAREDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );