/** 增加控制过程方案冲销字段类型 **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_BGCONPROCESSENTRY' AND KSQL_COL_NAME IN ('FWRITEOFFSFIELD')) 
ALTER TABLE T_EB_BGCONPROCESSENTRY ADD (FWRITEOFFSFIELD NVARCHAR(255) NOT NULL DEFAULT ' ');

IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_EB_BGCONPROCESSENTRY' AND KSQL_COL_NAME IN ('FWRITEOFFSFIELDCN')) 
ALTER TABLE T_EB_BGCONPROCESSENTRY ADD (FWRITEOFFSFIELDCN NVARCHAR(255) NOT NULL DEFAULT ' ');