/*增加dap配置表*/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AI_DAPCONFIG' AND KSQL_COL_NAME ='FCUSTOMUNIQUEKEY') 
 ALTER TABLE T_AI_DAPCONFIG ADD (FCUSTOMUNIQUEKEY NVARCHAR(100) DEFAULT ' ' NOT NULL );
 /*增加dap关系表*/
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AI_DAPTRACKER' AND KSQL_COL_NAME ='FCUSTOMKEY') 
 ALTER TABLE T_AI_DAPTRACKER ADD (FCUSTOMKEY NVARCHAR(200) DEFAULT ' ' NOT NULL );
 IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_AI_DAPTRACKER' AND KSQL_COL_NAME ='FOPER') 
 ALTER TABLE T_AI_DAPTRACKER ADD (FOPER NVARCHAR(50) DEFAULT ' ' NOT NULL );