--为T_PDM_MFTBOM添加BOM来源
IF NOT EXISTS (SELECT 1 FROM KSQL_USERCOLUMNS WHERE KSQL_COL_TABNAME = 'T_PDM_MFTBOM' AND KSQL_COL_NAME ='fdatasource') 
ALTER TABLE T_PDM_MFTBOM ADD (fdatasource CHAR(1) DEFAULT 1 NOT NULL);
