/*历史发票信息表添加出发地, 目的地这两个字段*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFORPTBILL' AND KSQL_COL_NAME ='FINVOICEFROMCITY') 
 ALTER TABLE T_ER_INVOICEINFORPTBILL ADD (FINVOICEFROMCITY NVARCHAR(50) );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFORPTBILL' AND KSQL_COL_NAME ='FINVOICETOCITY') 
 ALTER TABLE T_ER_INVOICEINFORPTBILL ADD (FINVOICETOCITY NVARCHAR(50) );