/**   预付单 明细，收款信息分录添加换算方式字段  **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYBILLENTRY' AND KSQL_COL_NAME ='FQUOTETYPE')
 ALTER TABLE T_ER_PREPAYBILLENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PREPAYBILLRECENTRY' AND KSQL_COL_NAME ='FQUOTETYPE')
 ALTER TABLE T_ER_PREPAYBILLRECENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );

 /** 付款申请 明细，收款信息分录添加换算方式字段  **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPAYBILLENTRY' AND KSQL_COL_NAME ='FQUOTETYPE')
 ALTER TABLE T_ER_APPLYPAYBILLENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_APPLYPAYBILLRECENTRY' AND KSQL_COL_NAME ='FQUOTETYPE')
 ALTER TABLE T_ER_APPLYPAYBILLRECENTRY ADD (FQUOTETYPE CHAR(1) DEFAULT '0' NOT NULL );