/**   立项单和费用暂估单，费用明细、摊销明细分录添加换算方式字段  **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_COSTESTIMATEENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_COSTESTIMATEENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPROJECTENTRY' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_APPLYPROJECTENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPROJECTSHARED' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_APPLYPROJECTSHARED ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_COSTESTIMATESHARED' AND KSQL_COL_NAME ='FQUOTETYPE') 
 ALTER TABLE T_ER_COSTESTIMATESHARED ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );