/**差旅类单据 差旅明细, 行程信息, 收款信息分录添加换算方式字段 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REQENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REQENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REIMACCOUNTENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REIMACCOUNTENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REQACCOUNTENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REQACCOUNTENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REQTRIPENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REQTRIPENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REIMBURSETRIPENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REIMBURSETRIPENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_EXPENSESHAREDETAIL' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_EXPENSESHAREDETAIL ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_REIMBURSEENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_REIMBURSEENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );