/*差旅,费用,对公报销单, 发票分录添加出发地,目的地字段*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFO' AND KSQL_COL_NAME ='FFROMCITY') 
 ALTER TABLE T_ER_INVOICEINFO ADD (FFROMCITY NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_INVOICEINFO' AND KSQL_COL_NAME ='FTOCITY') 
 ALTER TABLE T_ER_INVOICEINFO ADD (FTOCITY NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMINVOICEINFO' AND KSQL_COL_NAME ='FFROMCITY') 
 ALTER TABLE T_ER_PUBREIMINVOICEINFO ADD (FFROMCITY NVARCHAR(50) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_PUBREIMINVOICEINFO' AND KSQL_COL_NAME ='FTOCITY') 
 ALTER TABLE T_ER_PUBREIMINVOICEINFO ADD (FTOCITY NVARCHAR(50) DEFAULT ' ' NOT NULL );
