/** 商旅集成日志新增“星瀚对接功能编码”、“服务商编码”字段*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRIP_LOG' AND KSQL_COL_NAME ='FFUNCTIONNUMBER')
 ALTER TABLE T_ER_TRIP_LOG ADD (FFUNCTIONNUMBER VARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_TRIP_LOG' AND KSQL_COL_NAME ='FSERVERNUMBER') 
 ALTER TABLE T_ER_TRIP_LOG ADD (FSERVERNUMBER VARCHAR(255) DEFAULT ' ' NOT NULL );