/**发票云集成配置表添加企业工商登记名字段*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ER_KDINVOICECFG' AND KSQL_COL_NAME ='FFIRMNAME') 
 ALTER TABLE T_ER_KDINVOICECFG ADD (FFIRMNAME NVARCHAR(100) DEFAULT ' ' NOT NULL );