
/* 组织职能类型添加自定义名称字段 */
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ORG_BIZLIST' AND KSQL_COL_NAME ='FUSERDEFINENAME')
 ALTER TABLE T_ORG_BIZLIST ADD (FUSERDEFINENAME NVARCHAR(255) DEFAULT ' ' NOT NULL );
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_ORG_BIZLIST_L' AND KSQL_COL_NAME ='FUSERDEFINENAME')
 ALTER TABLE T_ORG_BIZLIST_L ADD (FUSERDEFINENAME NVARCHAR(255) DEFAULT ' ' NOT NULL );